summaryrefslogtreecommitdiff
path: root/drivers/bcma/bcma_private.h
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-01-05 04:10:43 +0400
committerDavid S. Miller <davem@davemloft.net>2014-01-05 05:25:19 +0400
commitb2395b8aeaa2f181ee87f5840c6268992b30ed95 (patch)
tree513c73c57a8e3f76e18f42e38eee60ad125b2d2d /drivers/bcma/bcma_private.h
parenteec73f1c968d6d6cafa5ca19d53b6618bbd20e1e (diff)
downloadlinux-b2395b8aeaa2f181ee87f5840c6268992b30ed95.tar.xz
bcma: export bcma_find_core_unit()
This function is used to get a specific core when there is more than one core of that specific type. This is used in bgmac to reset all GMAC cores. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bcma/bcma_private.h')
-rw-r--r--drivers/bcma/bcma_private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/bcma/bcma_private.h b/drivers/bcma/bcma_private.h
index 0215f9ad755c..09b632ad0fe2 100644
--- a/drivers/bcma/bcma_private.h
+++ b/drivers/bcma/bcma_private.h
@@ -33,8 +33,6 @@ int __init bcma_bus_early_register(struct bcma_bus *bus,
int bcma_bus_suspend(struct bcma_bus *bus);
int bcma_bus_resume(struct bcma_bus *bus);
#endif
-struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid,
- u8 unit);
/* scan.c */
int bcma_bus_scan(struct bcma_bus *bus);