diff options
Diffstat (limited to 'drivers/bcma/main.c')
| -rw-r--r-- | drivers/bcma/main.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c index 5a9f6bdc88f1..34ea4c588d36 100644 --- a/drivers/bcma/main.c +++ b/drivers/bcma/main.c | |||
| @@ -78,18 +78,6 @@ static u16 bcma_cc_core_id(struct bcma_bus *bus) | |||
| 78 | return BCMA_CORE_CHIPCOMMON; | 78 | return BCMA_CORE_CHIPCOMMON; |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid) | ||
| 82 | { | ||
| 83 | struct bcma_device *core; | ||
| 84 | |||
| 85 | list_for_each_entry(core, &bus->cores, list) { | ||
| 86 | if (core->id.id == coreid) | ||
| 87 | return core; | ||
| 88 | } | ||
| 89 | return NULL; | ||
| 90 | } | ||
| 91 | EXPORT_SYMBOL_GPL(bcma_find_core); | ||
| 92 | |||
| 93 | struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid, | 81 | struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid, |
| 94 | u8 unit) | 82 | u8 unit) |
| 95 | { | 83 | { |
| @@ -101,6 +89,7 @@ struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid, | |||
| 101 | } | 89 | } |
| 102 | return NULL; | 90 | return NULL; |
| 103 | } | 91 | } |
| 92 | EXPORT_SYMBOL_GPL(bcma_find_core_unit); | ||
| 104 | 93 | ||
| 105 | bool bcma_wait_value(struct bcma_device *core, u16 reg, u32 mask, u32 value, | 94 | bool bcma_wait_value(struct bcma_device *core, u16 reg, u32 mask, u32 value, |
| 106 | int timeout) | 95 | int timeout) |
