diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-02-28 00:56:09 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-05 15:20:50 -0500 |
commit | 1c9351cf2180924c91bb85e5ba607f24a3d875b1 (patch) | |
tree | 4e09e2efb552bf11454912b817d8d81c4430670f /include/linux/bcma/bcma.h | |
parent | 52aa63f5322aab23e07a52ff8ddd246d34799eb5 (diff) | |
download | linux-1c9351cf2180924c91bb85e5ba607f24a3d875b1.tar.gz linux-1c9351cf2180924c91bb85e5ba607f24a3d875b1.tar.bz2 linux-1c9351cf2180924c91bb85e5ba607f24a3d875b1.zip |
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 'include/linux/bcma/bcma.h')
-rw-r--r-- | include/linux/bcma/bcma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index b9f65fbee42f..46bbd088c4ad 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h @@ -284,6 +284,7 @@ static inline void bcma_maskset16(struct bcma_device *cc, bcma_write16(cc, offset, (bcma_read16(cc, offset) & mask) | set); } +extern struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid); extern bool bcma_core_is_enabled(struct bcma_device *core); extern void bcma_core_disable(struct bcma_device *core, u32 flags); extern int bcma_core_enable(struct bcma_device *core, u32 flags); |