Commit 440ca98f authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

bcma: clean exports of functions

Function managing IRQs is needed for external drivers like b43.
On the other side we do not expect writing any hosts drivers outside of
bcma, so this is safe to do not export functions related to this.
Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 536e5189
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
struct bcma_bus; struct bcma_bus;
/* main.c */ /* main.c */
extern int bcma_bus_register(struct bcma_bus *bus); int bcma_bus_register(struct bcma_bus *bus);
extern void bcma_bus_unregister(struct bcma_bus *bus); void bcma_bus_unregister(struct bcma_bus *bus);
/* scan.c */ /* scan.c */
int bcma_bus_scan(struct bcma_bus *bus); int bcma_bus_scan(struct bcma_bus *bus);
......
...@@ -184,3 +184,4 @@ int bcma_core_pci_irq_ctl(struct bcma_drv_pci *pc, struct bcma_device *core, ...@@ -184,3 +184,4 @@ int bcma_core_pci_irq_ctl(struct bcma_drv_pci *pc, struct bcma_device *core,
out: out:
return err; return err;
} }
EXPORT_SYMBOL_GPL(bcma_core_pci_irq_ctl);
...@@ -160,13 +160,11 @@ int bcma_bus_register(struct bcma_bus *bus) ...@@ -160,13 +160,11 @@ int bcma_bus_register(struct bcma_bus *bus)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(bcma_bus_register);
void bcma_bus_unregister(struct bcma_bus *bus) void bcma_bus_unregister(struct bcma_bus *bus)
{ {
bcma_unregister_cores(bus); bcma_unregister_cores(bus);
} }
EXPORT_SYMBOL_GPL(bcma_bus_unregister);
int __bcma_driver_register(struct bcma_driver *drv, struct module *owner) int __bcma_driver_register(struct bcma_driver *drv, struct module *owner)
{ {
......
...@@ -85,5 +85,7 @@ struct bcma_drv_pci { ...@@ -85,5 +85,7 @@ struct bcma_drv_pci {
#define pcicore_write32(pc, offset, val) bcma_write32((pc)->core, offset, val) #define pcicore_write32(pc, offset, val) bcma_write32((pc)->core, offset, val)
extern void bcma_core_pci_init(struct bcma_drv_pci *pc); extern void bcma_core_pci_init(struct bcma_drv_pci *pc);
extern int bcma_core_pci_irq_ctl(struct bcma_drv_pci *pc,
struct bcma_device *core, bool enable);
#endif /* LINUX_BCMA_DRIVER_PCI_H_ */ #endif /* LINUX_BCMA_DRIVER_PCI_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment