summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/core.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-06-24 14:21:00 -0700
committerDavid S. Miller <davem@davemloft.net>2011-06-24 14:21:00 -0700
commitcd5f3e2064ea21e1cbe140728a1b04e7d32f68eb (patch)
treec2d924b975bdf6fd294546ffb800116c508878e7 /drivers/bcma/core.c
parent95cb3656c09fcf6577138337216c27744ebc91e2 (diff)
parent36099365c7cc64e5184b66b6eb094950a13f540c (diff)
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/bcma/core.c')
-rw-r--r--drivers/bcma/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bcma/core.c b/drivers/bcma/core.c
index ced379f7b37..1ec7d4528dd 100644
--- a/drivers/bcma/core.c
+++ b/drivers/bcma/core.c
@@ -19,7 +19,7 @@ bool bcma_core_is_enabled(struct bcma_device *core)
}
EXPORT_SYMBOL_GPL(bcma_core_is_enabled);
-static void bcma_core_disable(struct bcma_device *core, u32 flags)
+void bcma_core_disable(struct bcma_device *core, u32 flags)
{
if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET)
return;
@@ -31,6 +31,7 @@ static void bcma_core_disable(struct bcma_device *core, u32 flags)
bcma_awrite32(core, BCMA_RESET_CTL, BCMA_RESET_CTL_RESET);
udelay(1);
}
+EXPORT_SYMBOL_GPL(bcma_core_disable);
int bcma_core_enable(struct bcma_device *core, u32 flags)
{