diff options
-rw-r--r-- | drivers/scsi/fdomain.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/fdomain.c b/drivers/scsi/fdomain.c index 36169d597e98..5d282e6a6ae1 100644 --- a/drivers/scsi/fdomain.c +++ b/drivers/scsi/fdomain.c | |||
@@ -387,7 +387,9 @@ static void __iomem * bios_mem; | |||
387 | static int bios_major; | 387 | static int bios_major; |
388 | static int bios_minor; | 388 | static int bios_minor; |
389 | static int PCI_bus; | 389 | static int PCI_bus; |
390 | #ifdef CONFIG_PCI | ||
390 | static struct pci_dev *PCI_dev; | 391 | static struct pci_dev *PCI_dev; |
392 | #endif | ||
391 | static int Quantum; /* Quantum board variant */ | 393 | static int Quantum; /* Quantum board variant */ |
392 | static int interrupt_level; | 394 | static int interrupt_level; |
393 | static volatile int in_command; | 395 | static volatile int in_command; |
@@ -1764,6 +1766,7 @@ struct scsi_host_template fdomain_driver_template = { | |||
1764 | }; | 1766 | }; |
1765 | 1767 | ||
1766 | #ifndef PCMCIA | 1768 | #ifndef PCMCIA |
1769 | #ifdef CONFIG_PCI | ||
1767 | 1770 | ||
1768 | static struct pci_device_id fdomain_pci_tbl[] __devinitdata = { | 1771 | static struct pci_device_id fdomain_pci_tbl[] __devinitdata = { |
1769 | { PCI_VENDOR_ID_FD, PCI_DEVICE_ID_FD_36C70, | 1772 | { PCI_VENDOR_ID_FD, PCI_DEVICE_ID_FD_36C70, |
@@ -1771,7 +1774,7 @@ static struct pci_device_id fdomain_pci_tbl[] __devinitdata = { | |||
1771 | { } | 1774 | { } |
1772 | }; | 1775 | }; |
1773 | MODULE_DEVICE_TABLE(pci, fdomain_pci_tbl); | 1776 | MODULE_DEVICE_TABLE(pci, fdomain_pci_tbl); |
1774 | 1777 | #endif | |
1775 | #define driver_template fdomain_driver_template | 1778 | #define driver_template fdomain_driver_template |
1776 | #include "scsi_module.c" | 1779 | #include "scsi_module.c" |
1777 | 1780 | ||