aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_chipcommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bcma/driver_chipcommon.c')
-rw-r--r--drivers/bcma/driver_chipcommon.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma/driver_chipcommon.c
index 28fa50ad87be..036c6744b39b 100644
--- a/drivers/bcma/driver_chipcommon.c
+++ b/drivers/bcma/driver_chipcommon.c
@@ -25,13 +25,14 @@ static inline u32 bcma_cc_write32_masked(struct bcma_drv_cc *cc, u16 offset,
25 return value; 25 return value;
26} 26}
27 27
28static u32 bcma_chipco_get_alp_clock(struct bcma_drv_cc *cc) 28u32 bcma_chipco_get_alp_clock(struct bcma_drv_cc *cc)
29{ 29{
30 if (cc->capabilities & BCMA_CC_CAP_PMU) 30 if (cc->capabilities & BCMA_CC_CAP_PMU)
31 return bcma_pmu_get_alp_clock(cc); 31 return bcma_pmu_get_alp_clock(cc);
32 32
33 return 20000000; 33 return 20000000;
34} 34}
35EXPORT_SYMBOL_GPL(bcma_chipco_get_alp_clock);
35 36
36static u32 bcma_chipco_watchdog_get_max_timer(struct bcma_drv_cc *cc) 37static u32 bcma_chipco_watchdog_get_max_timer(struct bcma_drv_cc *cc)
37{ 38{
@@ -213,6 +214,7 @@ u32 bcma_chipco_gpio_out(struct bcma_drv_cc *cc, u32 mask, u32 value)
213 214
214 return res; 215 return res;
215} 216}
217EXPORT_SYMBOL_GPL(bcma_chipco_gpio_out);
216 218
217u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value) 219u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value)
218{ 220{
@@ -225,6 +227,7 @@ u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value)
225 227
226 return res; 228 return res;
227} 229}
230EXPORT_SYMBOL_GPL(bcma_chipco_gpio_outen);
228 231
229/* 232/*
230 * If the bit is set to 0, chipcommon controlls this GPIO, 233 * If the bit is set to 0, chipcommon controlls this GPIO,