diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:47 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:47 -0400 |
commit | 327fa1c29466b8fe471a91fc11e9c6171163c81a (patch) | |
tree | 9dbbf65c886d5ec68299d563da0cd7df8b97c324 /include | |
parent | 122f06f8bce406169d61242a3eb667027e27cca7 (diff) |
ide: move error handling code to ide-eh.c (v2)
Do some CodingStyle fixups in <linux/ide.h> while at it.
v2:
Add missing <linux/delay.h> include (reported by Stephen Rothwell).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 323c3710fbf4..0c87ed52a875 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1146,11 +1146,14 @@ int generic_ide_ioctl(ide_drive_t *, struct block_device *, unsigned, unsigned l | |||
1146 | extern int ide_vlb_clk; | 1146 | extern int ide_vlb_clk; |
1147 | extern int ide_pci_clk; | 1147 | extern int ide_pci_clk; |
1148 | 1148 | ||
1149 | extern int ide_end_request (ide_drive_t *drive, int uptodate, int nrsecs); | 1149 | int ide_end_request(ide_drive_t *, int, int); |
1150 | int ide_end_dequeued_request(ide_drive_t *drive, struct request *rq, | 1150 | int ide_end_dequeued_request(ide_drive_t *, struct request *, int, int); |
1151 | int uptodate, int nr_sectors); | 1151 | void ide_kill_rq(ide_drive_t *, struct request *); |
1152 | 1152 | ||
1153 | extern void ide_set_handler (ide_drive_t *drive, ide_handler_t *handler, unsigned int timeout, ide_expiry_t *expiry); | 1153 | void __ide_set_handler(ide_drive_t *, ide_handler_t *, unsigned int, |
1154 | ide_expiry_t *); | ||
1155 | void ide_set_handler(ide_drive_t *, ide_handler_t *, unsigned int, | ||
1156 | ide_expiry_t *); | ||
1154 | 1157 | ||
1155 | void ide_execute_command(ide_drive_t *, u8, ide_handler_t *, unsigned int, | 1158 | void ide_execute_command(ide_drive_t *, u8, ide_handler_t *, unsigned int, |
1156 | ide_expiry_t *); | 1159 | ide_expiry_t *); |