diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index d77c1994d0e3..a23ae25d7da8 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -490,6 +490,7 @@ typedef struct hwif_s { | |||
490 | const struct ide_dma_ops *dma_ops; | 490 | const struct ide_dma_ops *dma_ops; |
491 | 491 | ||
492 | void (*exec_command)(struct hwif_s *, u8); | 492 | void (*exec_command)(struct hwif_s *, u8); |
493 | u8 (*read_status)(struct hwif_s *); | ||
493 | u8 (*read_sff_dma_status)(struct hwif_s *); | 494 | u8 (*read_sff_dma_status)(struct hwif_s *); |
494 | 495 | ||
495 | void (*tf_load)(ide_drive_t *, struct ide_task_s *); | 496 | void (*tf_load)(ide_drive_t *, struct ide_task_s *); |
@@ -1362,13 +1363,6 @@ static inline void ide_set_irq(ide_drive_t *drive, int on) | |||
1362 | hwif->io_ports.ctl_addr); | 1363 | hwif->io_ports.ctl_addr); |
1363 | } | 1364 | } |
1364 | 1365 | ||
1365 | static inline u8 ide_read_status(ide_drive_t *drive) | ||
1366 | { | ||
1367 | ide_hwif_t *hwif = drive->hwif; | ||
1368 | |||
1369 | return hwif->INB(hwif->io_ports.status_addr); | ||
1370 | } | ||
1371 | |||
1372 | static inline u8 ide_read_altstatus(ide_drive_t *drive) | 1366 | static inline u8 ide_read_altstatus(ide_drive_t *drive) |
1373 | { | 1367 | { |
1374 | ide_hwif_t *hwif = drive->hwif; | 1368 | ide_hwif_t *hwif = drive->hwif; |