source: trunk/target/linux/brcm47xx/patches-3.2/195-bcma-export-bcma_find_core.patch @ 31093

Last change on this file since 31093 was 31093, checked in by hauke, 4 years ago

brcm47xx: update sprom patches like they are in the mainline kernel

File size: 982 bytes
  • drivers/bcma/main.c

    a b static struct bus_type bcma_bus_type = { 
    6161        .dev_attrs      = bcma_device_attrs, 
    6262}; 
    6363 
    64 static struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid) 
     64struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid) 
    6565{ 
    6666        struct bcma_device *core; 
    6767 
    static struct bcma_device *bcma_find_cor 
    7171        } 
    7272        return NULL; 
    7373} 
     74EXPORT_SYMBOL_GPL(bcma_find_core); 
    7475 
    7576static void bcma_release_core_dev(struct device *dev) 
    7677{ 
  • include/linux/bcma/bcma.h

    a b static inline void bcma_maskset16(struct 
    285285        bcma_write16(cc, offset, (bcma_read16(cc, offset) & mask) | set); 
    286286} 
    287287 
     288extern struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid); 
    288289extern bool bcma_core_is_enabled(struct bcma_device *core); 
    289290extern void bcma_core_disable(struct bcma_device *core, u32 flags); 
    290291extern int bcma_core_enable(struct bcma_device *core, u32 flags); 
Note: See TracBrowser for help on using the repository browser.