2 --- a/drivers/bcma/main.c
3 +++ b/drivers/bcma/main.c
4 @@ -61,7 +61,7 @@ static struct bus_type bcma_bus_type = {
5 .dev_attrs = bcma_device_attrs,
8 -static struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid)
9 +struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid)
11 struct bcma_device *core;
13 @@ -71,6 +71,7 @@ static struct bcma_device *bcma_find_cor
17 +EXPORT_SYMBOL_GPL(bcma_find_core);
19 static void bcma_release_core_dev(struct device *dev)
21 --- a/include/linux/bcma/bcma.h
22 +++ b/include/linux/bcma/bcma.h
23 @@ -285,6 +285,7 @@ static inline void bcma_maskset16(struct
24 bcma_write16(cc, offset, (bcma_read16(cc, offset) & mask) | set);
27 +extern struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid);
28 extern bool bcma_core_is_enabled(struct bcma_device *core);
29 extern void bcma_core_disable(struct bcma_device *core, u32 flags);
30 extern int bcma_core_enable(struct bcma_device *core, u32 flags);