diff options
Diffstat (limited to 'include/linux/bcma/bcma.h')
-rw-r--r-- | include/linux/bcma/bcma.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index b9f65fbee42f..5af9a075498f 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h | |||
@@ -176,6 +176,12 @@ int __bcma_driver_register(struct bcma_driver *drv, struct module *owner); | |||
176 | 176 | ||
177 | extern void bcma_driver_unregister(struct bcma_driver *drv); | 177 | extern void bcma_driver_unregister(struct bcma_driver *drv); |
178 | 178 | ||
179 | /* Set a fallback SPROM. | ||
180 | * See kdoc at the function definition for complete documentation. */ | ||
181 | extern int bcma_arch_register_fallback_sprom( | ||
182 | int (*sprom_callback)(struct bcma_bus *bus, | ||
183 | struct ssb_sprom *out)); | ||
184 | |||
179 | struct bcma_bus { | 185 | struct bcma_bus { |
180 | /* The MMIO area. */ | 186 | /* The MMIO area. */ |
181 | void __iomem *mmio; | 187 | void __iomem *mmio; |
@@ -284,6 +290,7 @@ static inline void bcma_maskset16(struct bcma_device *cc, | |||
284 | bcma_write16(cc, offset, (bcma_read16(cc, offset) & mask) | set); | 290 | bcma_write16(cc, offset, (bcma_read16(cc, offset) & mask) | set); |
285 | } | 291 | } |
286 | 292 | ||
293 | extern struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid); | ||
287 | extern bool bcma_core_is_enabled(struct bcma_device *core); | 294 | extern bool bcma_core_is_enabled(struct bcma_device *core); |
288 | extern void bcma_core_disable(struct bcma_device *core, u32 flags); | 295 | extern void bcma_core_disable(struct bcma_device *core, u32 flags); |
289 | extern int bcma_core_enable(struct bcma_device *core, u32 flags); | 296 | extern int bcma_core_enable(struct bcma_device *core, u32 flags); |