aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-sff.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-05-10 15:41:35 -0400
committerJeff Garzik <jgarzik@redhat.com>2010-05-19 13:34:10 -0400
commit270390e1ae1818b111543b8bfffa08095d73c1a5 (patch)
treebe6145d1a3ea7d2e80f303a62c5f9ba5a753c0f5 /drivers/ata/libata-sff.c
parentc7087652e1890a3feef35b30ee1d4be68e1932cd (diff)
libata-sff: introduce ata_sff_init/exit() and ata_sff_port_init()
In preparation of proper SFF/BMDMA separation, introduce ata_sff_init/exit() and ata_sff_port_init(). These functions currently don't do anything. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-sff.c')
-rw-r--r--drivers/ata/libata-sff.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index f1c99a3e8b2c..4a3d1f214457 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -3061,3 +3061,26 @@ void ata_pci_bmdma_init(struct ata_host *host)
3061EXPORT_SYMBOL_GPL(ata_pci_bmdma_init); 3061EXPORT_SYMBOL_GPL(ata_pci_bmdma_init);
3062 3062
3063#endif /* CONFIG_PCI */ 3063#endif /* CONFIG_PCI */
3064
3065/**
3066 * ata_sff_port_init - Initialize SFF/BMDMA ATA port
3067 * @ap: Port to initialize
3068 *
3069 * Called on port allocation to initialize SFF/BMDMA specific
3070 * fields.
3071 *
3072 * LOCKING:
3073 * None.
3074 */
3075void ata_sff_port_init(struct ata_port *ap)
3076{
3077}
3078
3079int __init ata_sff_init(void)
3080{
3081 return 0;
3082}
3083
3084void __exit ata_sff_exit(void)
3085{
3086}