diff options
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_glue.h')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_glue.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.h b/drivers/scsi/sym53c8xx_2/sym_glue.h index ab2de1ca9438..98261a5af87d 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.h +++ b/drivers/scsi/sym53c8xx_2/sym_glue.h | |||
@@ -42,6 +42,7 @@ | |||
42 | 42 | ||
43 | #include <linux/completion.h> | 43 | #include <linux/completion.h> |
44 | #include <linux/delay.h> | 44 | #include <linux/delay.h> |
45 | #include <linux/interrupt.h> | ||
45 | #include <linux/ioport.h> | 46 | #include <linux/ioport.h> |
46 | #include <linux/pci.h> | 47 | #include <linux/pci.h> |
47 | #include <linux/string.h> | 48 | #include <linux/string.h> |
@@ -217,14 +218,15 @@ struct sym_device { | |||
217 | /* | 218 | /* |
218 | * Driver host data structure. | 219 | * Driver host data structure. |
219 | */ | 220 | */ |
220 | struct host_data { | 221 | struct sym_data { |
221 | struct sym_hcb *ncb; | 222 | struct sym_hcb *ncb; |
222 | struct completion *io_reset; /* PCI error handling */ | 223 | struct completion *io_reset; /* PCI error handling */ |
224 | struct pci_dev *pdev; | ||
223 | }; | 225 | }; |
224 | 226 | ||
225 | static inline struct sym_hcb * sym_get_hcb(struct Scsi_Host *host) | 227 | static inline struct sym_hcb * sym_get_hcb(struct Scsi_Host *host) |
226 | { | 228 | { |
227 | return ((struct host_data *)host->hostdata)->ncb; | 229 | return ((struct sym_data *)host->hostdata)->ncb; |
228 | } | 230 | } |
229 | 231 | ||
230 | #include "sym_fw.h" | 232 | #include "sym_fw.h" |