Commit 63b367a4 authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Make presense of old/style EH routines cause warnings, not

a compile failure.
parent e97ba483
...@@ -190,6 +190,13 @@ typedef struct SHT ...@@ -190,6 +190,13 @@ typedef struct SHT
int (*eh_bus_reset_handler)(Scsi_Cmnd *); int (*eh_bus_reset_handler)(Scsi_Cmnd *);
int (*eh_host_reset_handler)(Scsi_Cmnd *); int (*eh_host_reset_handler)(Scsi_Cmnd *);
/*
* Old EH handlers, no longer used. Make them warn the user of old
* drivers by using a wrogn type
*/
int (*abort)(int);
int (*reset)(int,int);
/* /*
* Once the device has responded to an INQUIRY and we know the device * Once the device has responded to an INQUIRY and we know the device
* is online, call into the low level driver with the Scsi_Device * * is online, call into the low level driver with the Scsi_Device *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment