Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 929a03ae authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by John W. Linville
Browse files

bcma: make bcma_find_core_unit() accessible



This bcma_find_core_unit() is needed by the mips driver in the next
patch.

Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 03c2dc73
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -31,6 +31,8 @@ int __init bcma_bus_early_register(struct bcma_bus *bus,
int bcma_bus_suspend(struct bcma_bus *bus);
int bcma_bus_suspend(struct bcma_bus *bus);
int bcma_bus_resume(struct bcma_bus *bus);
int bcma_bus_resume(struct bcma_bus *bus);
#endif
#endif
struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid,
					u8 unit);


/* scan.c */
/* scan.c */
int bcma_bus_scan(struct bcma_bus *bus);
int bcma_bus_scan(struct bcma_bus *bus);
+2 −2
Original line number Original line Diff line number Diff line
@@ -81,7 +81,7 @@ struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid)
}
}
EXPORT_SYMBOL_GPL(bcma_find_core);
EXPORT_SYMBOL_GPL(bcma_find_core);


static struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid,
struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid,
					u8 unit)
					u8 unit)
{
{
	struct bcma_device *core;
	struct bcma_device *core;