summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_pci.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-01-31 00:03:33 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-02-06 20:53:02 +0100
commit4b259a5cc5ea967fa243dfc1f95a59ae74106f5b (patch)
tree2d249388538e0086acf5969e5617715ed682cd4a /drivers/bcma/driver_pci.c
parentbcma: add constants for PCI and use them (diff)
downloadlinux-4b259a5cc5ea967fa243dfc1f95a59ae74106f5b.tar.xz
linux-4b259a5cc5ea967fa243dfc1f95a59ae74106f5b.zip
bcma: export bcma_pcie_read()
This will be needed by the host controller. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/driver_pci.c')
-rw-r--r--drivers/bcma/driver_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bcma/driver_pci.c b/drivers/bcma/driver_pci.c
index fc462b4a0990..22dc9fca6dcb 100644
--- a/drivers/bcma/driver_pci.c
+++ b/drivers/bcma/driver_pci.c
@@ -17,7 +17,7 @@
* R/W ops.
**************************************************/
-static u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address)
+u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address)
{
pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address);
pcicore_read32(pc, BCMA_CORE_PCI_PCIEIND_ADDR);