aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-01-06 11:20:54 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-01-06 11:20:54 -0500
commit627e05daa10896a8f012fa78e8434c07e9e55ea7 (patch)
tree4104df5b2504dce8a26c59d6648e4e89229fc37f /include/linux/ide.h
parent585e9715c271f7ef171813eb49febf27dea75887 (diff)
ide: remove ->error method from struct ide_driver
* Remove (now superfluous) ->error method from struct ide_driver. * Unexport __ide_error() and make it static. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index fcbcfa2cbe75..9f6fe1fe7a6c 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1113,7 +1113,6 @@ struct ide_driver {
1113 const char *version; 1113 const char *version;
1114 ide_startstop_t (*do_request)(ide_drive_t *, struct request *, sector_t); 1114 ide_startstop_t (*do_request)(ide_drive_t *, struct request *, sector_t);
1115 int (*end_request)(ide_drive_t *, int, int); 1115 int (*end_request)(ide_drive_t *, int, int);
1116 ide_startstop_t (*error)(ide_drive_t *, struct request *rq, u8, u8);
1117 struct device_driver gen_driver; 1116 struct device_driver gen_driver;
1118 int (*probe)(ide_drive_t *); 1117 int (*probe)(ide_drive_t *);
1119 void (*remove)(ide_drive_t *); 1118 void (*remove)(ide_drive_t *);
@@ -1157,8 +1156,6 @@ void ide_execute_pkt_cmd(ide_drive_t *);
1157 1156
1158void ide_pad_transfer(ide_drive_t *, int, int); 1157void ide_pad_transfer(ide_drive_t *, int, int);
1159 1158
1160ide_startstop_t __ide_error(ide_drive_t *, struct request *, u8, u8);
1161
1162ide_startstop_t ide_error(ide_drive_t *, const char *, u8); 1159ide_startstop_t ide_error(ide_drive_t *, const char *, u8);
1163 1160
1164void ide_fix_driveid(u16 *); 1161void ide_fix_driveid(u16 *);