diff options
author | Borislav Petkov <bbpetkov@yahoo.de> | 2008-02-02 13:56:36 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 13:56:36 -0500 |
commit | 0eea6458c04a1cbb2e8e5c2cdbef736d882d200c (patch) | |
tree | b999d1360c01df8b7d4cfb0a28750f709c1c785b /include | |
parent | 0bf399e69c365a71c230014af90966faea92e0a3 (diff) |
ide-floppy: use an xfer_func_t and io_buf_t typedefs in order to unify rw
Also, move xfer_func_t typedef to the ide.h since it is used by two drivers
now (more coming).
Bart:
- use __func__ while at it
Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 29e35980d7e3..f7fe8b1fe681 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -627,6 +627,9 @@ typedef struct hwif_s { | |||
627 | typedef ide_startstop_t (ide_handler_t)(ide_drive_t *); | 627 | typedef ide_startstop_t (ide_handler_t)(ide_drive_t *); |
628 | typedef int (ide_expiry_t)(ide_drive_t *); | 628 | typedef int (ide_expiry_t)(ide_drive_t *); |
629 | 629 | ||
630 | /* used by ide-cd, ide-floppy, etc. */ | ||
631 | typedef void (xfer_func_t)(ide_drive_t *, void *, u32); | ||
632 | |||
630 | typedef struct hwgroup_s { | 633 | typedef struct hwgroup_s { |
631 | /* irq handler, if active */ | 634 | /* irq handler, if active */ |
632 | ide_startstop_t (*handler)(ide_drive_t *); | 635 | ide_startstop_t (*handler)(ide_drive_t *); |