From 45f11457547f1b68ce6af7e9c9f712ab245cd173 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 28 Feb 2012 00:56:09 +0100 Subject: [PATCH] --- yaml --- r: 291119 b: refs/heads/master c: 1c9351cf2180924c91bb85e5ba607f24a3d875b1 h: refs/heads/master i: 291117: c32a685354fd0c286949860777e255c355325322 291115: 0bbab9aa283d9dbfd2f36f65fc25a02395fc2b08 291111: f005435226414a03ef7c78383f4a80f22bed0d73 291103: d5499d19ac2b2f2c38efde2e00d41361a0ff8090 v: v3 --- [refs] | 2 +- trunk/drivers/bcma/main.c | 3 ++- trunk/include/linux/bcma/bcma.h | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 22ca0a4e79ee..aa3a7d97015a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 52aa63f5322aab23e07a52ff8ddd246d34799eb5 +refs/heads/master: 1c9351cf2180924c91bb85e5ba607f24a3d875b1 diff --git a/trunk/drivers/bcma/main.c b/trunk/drivers/bcma/main.c index b8379b90d045..7e138ec21357 100644 --- a/trunk/drivers/bcma/main.c +++ b/trunk/drivers/bcma/main.c @@ -61,7 +61,7 @@ static struct bus_type bcma_bus_type = { .dev_attrs = bcma_device_attrs, }; -static struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid) +struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid) { struct bcma_device *core; @@ -71,6 +71,7 @@ static struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid) } return NULL; } +EXPORT_SYMBOL_GPL(bcma_find_core); static void bcma_release_core_dev(struct device *dev) { diff --git a/trunk/include/linux/bcma/bcma.h b/trunk/include/linux/bcma/bcma.h index b9f65fbee42f..46bbd088c4ad 100644 --- a/trunk/include/linux/bcma/bcma.h +++ b/trunk/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);