diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-02-27 18:56:09 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-05 15:20:50 -0500 |
commit | 1c9351cf2180924c91bb85e5ba607f24a3d875b1 (patch) | |
tree | 4e09e2efb552bf11454912b817d8d81c4430670f /drivers/bcma | |
parent | 52aa63f5322aab23e07a52ff8ddd246d34799eb5 (diff) |
bcma: export bcma_find_core
This function is needed by the bcm47xx arch code to get the number of
the ieee80211 core.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma')
-rw-r--r-- | drivers/bcma/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c index b8379b90d045..7e138ec21357 100644 --- a/drivers/bcma/main.c +++ b/drivers/bcma/main.c | |||
@@ -61,7 +61,7 @@ static struct bus_type bcma_bus_type = { | |||
61 | .dev_attrs = bcma_device_attrs, | 61 | .dev_attrs = bcma_device_attrs, |
62 | }; | 62 | }; |
63 | 63 | ||
64 | static struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid) | 64 | struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid) |
65 | { | 65 | { |
66 | struct bcma_device *core; | 66 | struct bcma_device *core; |
67 | 67 | ||
@@ -71,6 +71,7 @@ static struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid) | |||
71 | } | 71 | } |
72 | return NULL; | 72 | return NULL; |
73 | } | 73 | } |
74 | EXPORT_SYMBOL_GPL(bcma_find_core); | ||
74 | 75 | ||
75 | static void bcma_release_core_dev(struct device *dev) | 76 | static void bcma_release_core_dev(struct device *dev) |
76 | { | 77 | { |