diff options
author | Tejun Heo <tj@kernel.org> | 2010-05-10 15:41:35 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-05-19 13:34:10 -0400 |
commit | 270390e1ae1818b111543b8bfffa08095d73c1a5 (patch) | |
tree | be6145d1a3ea7d2e80f303a62c5f9ba5a753c0f5 /drivers/ata/libata.h | |
parent | c7087652e1890a3feef35b30ee1d4be68e1932cd (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.h')
-rw-r--r-- | drivers/ata/libata.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 132da80aa23a..d89502f3123a 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -203,6 +203,16 @@ static inline int sata_pmp_attach(struct ata_device *dev) | |||
203 | /* libata-sff.c */ | 203 | /* libata-sff.c */ |
204 | #ifdef CONFIG_ATA_SFF | 204 | #ifdef CONFIG_ATA_SFF |
205 | extern void ata_pio_task(struct work_struct *work); | 205 | extern void ata_pio_task(struct work_struct *work); |
206 | extern void ata_sff_port_init(struct ata_port *ap); | ||
207 | extern int ata_sff_init(void); | ||
208 | extern void ata_sff_exit(void); | ||
209 | #else /* CONFIG_ATA_SFF */ | ||
210 | static inline void ata_sff_port_init(struct ata_port *ap) | ||
211 | { } | ||
212 | static inline int ata_sff_init(void) | ||
213 | { return 0; } | ||
214 | static inline void ata_sff_exit(void) | ||
215 | { } | ||
206 | #endif /* CONFIG_ATA_SFF */ | 216 | #endif /* CONFIG_ATA_SFF */ |
207 | 217 | ||
208 | #endif /* __LIBATA_H__ */ | 218 | #endif /* __LIBATA_H__ */ |