diff options
Diffstat (limited to 'include/linux/bcma/bcma.h')
-rw-r--r-- | include/linux/bcma/bcma.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index 4d043c30216f..0b3bb16c705a 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h | |||
@@ -418,7 +418,14 @@ static inline void bcma_maskset16(struct bcma_device *cc, | |||
418 | bcma_write16(cc, offset, (bcma_read16(cc, offset) & mask) | set); | 418 | bcma_write16(cc, offset, (bcma_read16(cc, offset) & mask) | set); |
419 | } | 419 | } |
420 | 420 | ||
421 | extern struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid); | 421 | extern struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid, |
422 | u8 unit); | ||
423 | static inline struct bcma_device *bcma_find_core(struct bcma_bus *bus, | ||
424 | u16 coreid) | ||
425 | { | ||
426 | return bcma_find_core_unit(bus, coreid, 0); | ||
427 | } | ||
428 | |||
422 | extern bool bcma_core_is_enabled(struct bcma_device *core); | 429 | extern bool bcma_core_is_enabled(struct bcma_device *core); |
423 | extern void bcma_core_disable(struct bcma_device *core, u32 flags); | 430 | extern void bcma_core_disable(struct bcma_device *core, u32 flags); |
424 | extern int bcma_core_enable(struct bcma_device *core, u32 flags); | 431 | extern int bcma_core_enable(struct bcma_device *core, u32 flags); |