summaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2012-11-12 13:03:20 +0100
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-11-22 09:32:28 +0200
commit8d4b9e3182634d8b5afb5a144a8c6c24b187bcc1 (patch)
tree0b9d29e976b969391372675d13f51804b45260d0 /drivers/bcma
parent60768368b76b2794b088bb66fbd07557a10fa77e (diff)
downloadblackbird-op-linux-8d4b9e3182634d8b5afb5a144a8c6c24b187bcc1.tar.gz
blackbird-op-linux-8d4b9e3182634d8b5afb5a144a8c6c24b187bcc1.zip
bcma: export PLL reading function
This is required by NAND flash driver for initializing wait counters. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/bcma')
-rw-r--r--drivers/bcma/driver_chipcommon_pmu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bcma/driver_chipcommon_pmu.c b/drivers/bcma/driver_chipcommon_pmu.c
index 201faf106b3f..657f23517481 100644
--- a/drivers/bcma/driver_chipcommon_pmu.c
+++ b/drivers/bcma/driver_chipcommon_pmu.c
@@ -13,12 +13,13 @@
#include <linux/export.h>
#include <linux/bcma/bcma.h>
-static u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset)
+u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset)
{
bcma_cc_write32(cc, BCMA_CC_PLLCTL_ADDR, offset);
bcma_cc_read32(cc, BCMA_CC_PLLCTL_ADDR);
return bcma_cc_read32(cc, BCMA_CC_PLLCTL_DATA);
}
+EXPORT_SYMBOL_GPL(bcma_chipco_pll_read);
void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, u32 value)
{
OpenPOWER on IntegriCloud