summaryrefslogtreecommitdiffstats
path: root/include/linux/bcma
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2011-06-09 20:07:20 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-10 14:57:53 -0400
commite3ae0cac00042d7fb76914c30c5f991f918e65b4 (patch)
tree11409e2b18d9f0bf52609c1ddd57bdaffc4709c2 /include/linux/bcma
parent5b49b35a671e59c16c33611ea2d5650438388663 (diff)
downloadop-kernel-dev-e3ae0cac00042d7fb76914c30c5f991f918e65b4.zip
op-kernel-dev-e3ae0cac00042d7fb76914c30c5f991f918e65b4.tar.gz
drivers: bcma: export bcma_core_disable() function
In the brcm80211 driver we disable the 80211 core when the driver is 'down'. The bcma_core_disable() function exactly does the same as our implementation so exporting this function makes sense. Cc: linux-wireless@vger.kernel.org Cc: Rafal Milecki <zajec5@gmail.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/bcma')
-rw-r--r--include/linux/bcma/bcma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h
index 6ff080e..3895aeb 100644
--- a/include/linux/bcma/bcma.h
+++ b/include/linux/bcma/bcma.h
@@ -244,6 +244,7 @@ void bcma_awrite32(struct bcma_device *core, u16 offset, u32 value)
}
extern bool bcma_core_is_enabled(struct bcma_device *core);
+extern void bcma_core_disable(struct bcma_device *core, u32 flags);
extern int bcma_core_enable(struct bcma_device *core, u32 flags);
#endif /* LINUX_BCMA_H_ */
OpenPOWER on IntegriCloud