diff options
Diffstat (limited to 'drivers/scsi/aacraid/linit.c')
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 36d8aab97efe..c507719c0d44 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -86,7 +86,13 @@ char aac_driver_version[] = AAC_DRIVER_FULL_VERSION; | |||
86 | * | 86 | * |
87 | * Note: The last field is used to index into aac_drivers below. | 87 | * Note: The last field is used to index into aac_drivers below. |
88 | */ | 88 | */ |
89 | static struct pci_device_id aac_pci_tbl[] = { | 89 | #ifdef DECLARE_PCI_DEVICE_TABLE |
90 | static DECLARE_PCI_DEVICE_TABLE(aac_pci_tbl) = { | ||
91 | #elif defined(__devinitconst) | ||
92 | static const struct pci_device_id aac_pci_tbl[] __devinitconst = { | ||
93 | #else | ||
94 | static const struct pci_device_id aac_pci_tbl[] __devinitdata = { | ||
95 | #endif | ||
90 | { 0x1028, 0x0001, 0x1028, 0x0001, 0, 0, 0 }, /* PERC 2/Si (Iguana/PERC2Si) */ | 96 | { 0x1028, 0x0001, 0x1028, 0x0001, 0, 0, 0 }, /* PERC 2/Si (Iguana/PERC2Si) */ |
91 | { 0x1028, 0x0002, 0x1028, 0x0002, 0, 0, 1 }, /* PERC 3/Di (Opal/PERC3Di) */ | 97 | { 0x1028, 0x0002, 0x1028, 0x0002, 0, 0, 1 }, /* PERC 3/Di (Opal/PERC3Di) */ |
92 | { 0x1028, 0x0003, 0x1028, 0x0003, 0, 0, 2 }, /* PERC 3/Si (SlimFast/PERC3Si */ | 98 | { 0x1028, 0x0003, 0x1028, 0x0003, 0, 0, 2 }, /* PERC 3/Si (SlimFast/PERC3Si */ |