diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index c6d4de60185a..2c43766ff344 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -170,7 +170,6 @@ typedef struct hw_regs_s { | |||
170 | struct device *dev; | 170 | struct device *dev; |
171 | } hw_regs_t; | 171 | } hw_regs_t; |
172 | 172 | ||
173 | struct hwif_s *ide_find_port(void); | ||
174 | void ide_init_port_data(struct hwif_s *, unsigned int); | 173 | void ide_init_port_data(struct hwif_s *, unsigned int); |
175 | void ide_init_port_hw(struct hwif_s *, hw_regs_t *); | 174 | void ide_init_port_hw(struct hwif_s *, hw_regs_t *); |
176 | 175 | ||
@@ -809,6 +808,13 @@ extern ide_hwif_t ide_hwifs[]; /* master data repository */ | |||
809 | #endif | 808 | #endif |
810 | extern int noautodma; | 809 | extern int noautodma; |
811 | 810 | ||
811 | ide_hwif_t *ide_find_port_slot(const struct ide_port_info *); | ||
812 | |||
813 | static inline ide_hwif_t *ide_find_port(void) | ||
814 | { | ||
815 | return ide_find_port_slot(NULL); | ||
816 | } | ||
817 | |||
812 | extern int ide_end_request (ide_drive_t *drive, int uptodate, int nrsecs); | 818 | extern int ide_end_request (ide_drive_t *drive, int uptodate, int nrsecs); |
813 | int ide_end_dequeued_request(ide_drive_t *drive, struct request *rq, | 819 | int ide_end_dequeued_request(ide_drive_t *drive, struct request *rq, |
814 | int uptodate, int nr_sectors); | 820 | int uptodate, int nr_sectors); |