summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-06-18 01:01:59 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-20 15:34:19 -0400
commit440ca98fe8407808a9ad8e934f6e28408f546313 (patch)
tree4c7ea568458a0e9327b7283cf370de1106446351 /include
parent536e5189ffdf17047f129f4730d947ab11a8526b (diff)
downloadlwn-440ca98fe8407808a9ad8e934f6e28408f546313.tar.gz
lwn-440ca98fe8407808a9ad8e934f6e28408f546313.zip
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: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/bcma/bcma_driver_pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma_driver_pci.h b/include/linux/bcma/bcma_driver_pci.h
index b7e191cf00ec..3871b668caf9 100644
--- a/include/linux/bcma/bcma_driver_pci.h
+++ b/include/linux/bcma/bcma_driver_pci.h
@@ -85,5 +85,7 @@ struct bcma_drv_pci {
#define pcicore_write32(pc, offset, val) bcma_write32((pc)->core, offset, val)
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_ */