diff options
Diffstat (limited to 'arch/i386/pci/init.c')
-rw-r--r-- | arch/i386/pci/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/pci/init.c b/arch/i386/pci/init.c index d028e1b05c36..b21b6da8ab1d 100644 --- a/arch/i386/pci/init.c +++ b/arch/i386/pci/init.c | |||
@@ -28,6 +28,10 @@ static __init int pci_access_init(void) | |||
28 | #ifdef CONFIG_PCI_DIRECT | 28 | #ifdef CONFIG_PCI_DIRECT |
29 | pci_direct_init(type); | 29 | pci_direct_init(type); |
30 | #endif | 30 | #endif |
31 | if (!raw_pci_ops) | ||
32 | printk(KERN_ERR | ||
33 | "PCI: Fatal: No config space access function found\n"); | ||
34 | |||
31 | return 0; | 35 | return 0; |
32 | } | 36 | } |
33 | arch_initcall(pci_access_init); | 37 | arch_initcall(pci_access_init); |