Commit 03c3da32 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] istallion compile fix

From: Geert Uytterhoeven <geert@linux-m68k.org>

Fix compilation if CONFIG_PCI is not set
parent 796de28a
...@@ -417,7 +417,6 @@ int stli_eisaprobe = STLI_EISAPROBE; ...@@ -417,7 +417,6 @@ int stli_eisaprobe = STLI_EISAPROBE;
#ifndef PCI_DEVICE_ID_ECRA #ifndef PCI_DEVICE_ID_ECRA
#define PCI_DEVICE_ID_ECRA 0x0004 #define PCI_DEVICE_ID_ECRA 0x0004
#endif #endif
#endif
static struct pci_device_id istallion_pci_tbl[] = { static struct pci_device_id istallion_pci_tbl[] = {
{ PCI_VENDOR_ID_STALLION, PCI_DEVICE_ID_ECRA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VENDOR_ID_STALLION, PCI_DEVICE_ID_ECRA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
...@@ -425,6 +424,8 @@ static struct pci_device_id istallion_pci_tbl[] = { ...@@ -425,6 +424,8 @@ static struct pci_device_id istallion_pci_tbl[] = {
}; };
MODULE_DEVICE_TABLE(pci, istallion_pci_tbl); MODULE_DEVICE_TABLE(pci, istallion_pci_tbl);
#endif /* CONFIG_PCI */
/*****************************************************************************/ /*****************************************************************************/
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment