aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sym53c8xx_2/sym_glue.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_glue.h')
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_glue.h6
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 */
220struct host_data { 221struct 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
225static inline struct sym_hcb * sym_get_hcb(struct Scsi_Host *host) 227static 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"