Commit c309e160 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] !PCI warnings: Specialix serial

Kill warnings in Specialix serial driver when !PCI.
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ef414434
...@@ -251,11 +251,13 @@ ...@@ -251,11 +251,13 @@
#define PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8 0x2000 #define PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8 0x2000
#endif #endif
#ifdef CONFIG_PCI
static struct pci_device_id sx_pci_tbl[] = { static struct pci_device_id sx_pci_tbl[] = {
{ PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8, PCI_ANY_ID, PCI_ANY_ID }, { PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8, PCI_ANY_ID, PCI_ANY_ID },
{ 0 } { 0 }
}; };
MODULE_DEVICE_TABLE(pci, sx_pci_tbl); MODULE_DEVICE_TABLE(pci, sx_pci_tbl);
#endif /* CONFIG_PCI */
/* Configurable options: /* Configurable options:
(Don't be too sure that it'll work if you toggle them) */ (Don't be too sure that it'll work if you toggle them) */
......
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