|
@@ -434,8 +434,17 @@ static inline struct bcma_device *bcma_find_core(struct bcma_bus *bus,
|
|
|
return bcma_find_core_unit(bus, coreid, 0);
|
|
|
}
|
|
|
|
|
|
+#ifdef CONFIG_BCMA_HOST_PCI
|
|
|
extern void bcma_host_pci_up(struct bcma_bus *bus);
|
|
|
extern void bcma_host_pci_down(struct bcma_bus *bus);
|
|
|
+#else
|
|
|
+static inline void bcma_host_pci_up(struct bcma_bus *bus)
|
|
|
+{
|
|
|
+}
|
|
|
+static inline void bcma_host_pci_down(struct bcma_bus *bus)
|
|
|
+{
|
|
|
+}
|
|
|
+#endif
|
|
|
|
|
|
extern bool bcma_core_is_enabled(struct bcma_device *core);
|
|
|
extern void bcma_core_disable(struct bcma_device *core, u32 flags);
|