aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-20 20:29:06 +0200
committerAdrian Bunk <bunk@kernel.org>2008-01-21 02:14:17 +0200
commitbe960fae271c48371a3836f07c63f863f7f19a3d (patch)
treec19f5e3841e341f7da718913ad16455f51f554c6 /drivers/scsi
parent05039306797df74dfb120a71d287ea640968665d (diff)
drivers/scsi/BusLogic.c: #ifdef MODULE BusLogic_pci_tbl[]
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/BusLogic.c2
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);