aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma/core.c
diff options
context:
space:
mode:
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 ced379f7b371..1ec7d4528dd0 100644
--- a/drivers/bcma/core.c
+++ b/drivers/bcma/core.c
@@ -19,7 +19,7 @@ bool bcma_core_is_enabled(struct bcma_device *core)
19} 19}
20EXPORT_SYMBOL_GPL(bcma_core_is_enabled); 20EXPORT_SYMBOL_GPL(bcma_core_is_enabled);
21 21
22static void bcma_core_disable(struct bcma_device *core, u32 flags) 22void bcma_core_disable(struct bcma_device *core, u32 flags)
23{ 23{
24 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) 24 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET)
25 return; 25 return;
@@ -31,6 +31,7 @@ static void bcma_core_disable(struct bcma_device *core, u32 flags)
31 bcma_awrite32(core, BCMA_RESET_CTL, BCMA_RESET_CTL_RESET); 31 bcma_awrite32(core, BCMA_RESET_CTL, BCMA_RESET_CTL_RESET);
32 udelay(1); 32 udelay(1);
33} 33}
34EXPORT_SYMBOL_GPL(bcma_core_disable);
34 35
35int bcma_core_enable(struct bcma_device *core, u32 flags) 36int bcma_core_enable(struct bcma_device *core, u32 flags)
36{ 37{