aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma/bcma_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bcma/bcma_private.h')
-rw-r--r--drivers/bcma/bcma_private.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/bcma/bcma_private.h b/drivers/bcma/bcma_private.h
index b40be43c6f31..b6412b2d748d 100644
--- a/drivers/bcma/bcma_private.h
+++ b/drivers/bcma/bcma_private.h
@@ -88,6 +88,20 @@ extern int __init bcma_host_pci_init(void);
88extern void __exit bcma_host_pci_exit(void); 88extern void __exit bcma_host_pci_exit(void);
89#endif /* CONFIG_BCMA_HOST_PCI */ 89#endif /* CONFIG_BCMA_HOST_PCI */
90 90
91/* host_soc.c */
92#if defined(CONFIG_BCMA_HOST_SOC) && defined(CONFIG_OF)
93extern int __init bcma_host_soc_register_driver(void);
94extern void __exit bcma_host_soc_unregister_driver(void);
95#else
96static inline int __init bcma_host_soc_register_driver(void)
97{
98 return 0;
99}
100static inline void __exit bcma_host_soc_unregister_driver(void)
101{
102}
103#endif /* CONFIG_BCMA_HOST_SOC && CONFIG_OF */
104
91/* driver_pci.c */ 105/* driver_pci.c */
92u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address); 106u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address);
93 107