X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Farm%2Fmach-integrator%2Fpci_v3.h;h=06a9e2e7d007b847f650b8efbf0856a1f47978ae;hb=15c83d26e16d19522ebba2a8c38b77fbe64e6ca3;hp=755fd29fed4a5f407ed3107abb4154637bdf5228;hpb=f2ec26a3d41c8a07861aed23bc8c8eb7d9445d62;p=karo-tx-linux.git diff --git a/arch/arm/mach-integrator/pci_v3.h b/arch/arm/mach-integrator/pci_v3.h index 755fd29fed4a..06a9e2e7d007 100644 --- a/arch/arm/mach-integrator/pci_v3.h +++ b/arch/arm/mach-integrator/pci_v3.h @@ -1,2 +1,9 @@ /* Simple oneliner include to the PCIv3 early init */ +#ifdef CONFIG_PCI extern int pci_v3_early_init(void); +#else +static inline int pci_v3_early_init(void) +{ + return 0; +} +#endif