diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-20 20:29:06 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2008-01-21 02:14:17 +0200 |
commit | be960fae271c48371a3836f07c63f863f7f19a3d (patch) | |
tree | c19f5e3841e341f7da718913ad16455f51f554c6 | |
parent | 05039306797df74dfb120a71d287ea640968665d (diff) |
drivers/scsi/BusLogic.c: #ifdef MODULE BusLogic_pci_tbl[]
Signed-off-by: Adrian Bunk <bunk@kernel.org>
-rw-r--r-- | drivers/scsi/BusLogic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c index 701580cee85..dc8ed8361b2 100644 --- a/drivers/scsi/BusLogic.c +++ b/drivers/scsi/BusLogic.c @@ -3570,6 +3570,7 @@ static void __exit BusLogic_exit(void) __setup("BusLogic=", BusLogic_Setup); +#ifdef MODULE static struct pci_device_id BusLogic_pci_tbl[] __devinitdata = { { PCI_VENDOR_ID_BUSLOGIC, PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, @@ -3580,6 +3581,7 @@ static struct pci_device_id BusLogic_pci_tbl[] __devinitdata = { { } }; MODULE_DEVICE_TABLE(pci, BusLogic_pci_tbl); +#endif /* MODULE */ module_init(BusLogic_init); module_exit(BusLogic_exit); |