diff options
Diffstat (limited to 'arch/mips/ath79/pci.h')
-rw-r--r-- | arch/mips/ath79/pci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/ath79/pci.h b/arch/mips/ath79/pci.h index 454885fa30c3..787fac2c08f0 100644 --- a/arch/mips/ath79/pci.h +++ b/arch/mips/ath79/pci.h @@ -18,4 +18,10 @@ struct ath724x_pci_data { void ath724x_pci_add_data(struct ath724x_pci_data *data, int size); +#ifdef CONFIG_PCI +int ath79_register_pci(void); +#else +static inline int ath79_register_pci(void) { return 0; } +#endif + #endif /* __ASM_MACH_ATH79_PCI_ATH724X_H */ |