source: trunk/target/linux/brcm63xx/patches-3.3/800-wl_exports.patch @ 31550

Last change on this file since 31550 was 31550, checked in by florian, 4 years ago

[brcm63xx] use a define for the poll and debounce interval

File size: 1.1 KB
  • arch/mips/bcm63xx/boards/board_bcm963xx.c

    a b  
    1717#include <linux/ssb/ssb.h> 
    1818#include <linux/gpio_keys.h> 
    1919#include <linux/input.h> 
     20#include <linux/export.h> 
    2021#include <linux/spi/spi.h> 
    2122#include <linux/spi/spi_gpio.h> 
    2223#include <linux/spi/74x164.h> 
    static unsigned int mac_addr_used; 
    5556static struct board_info board; 
    5657 
    5758/* 
     59 * Required export for WL 
     60 */ 
     61#define NVRAM_SPACE 0x8000 
     62char nvram_buf[NVRAM_SPACE]; 
     63EXPORT_SYMBOL(nvram_buf); 
     64 
     65/* 
    5866 * known 6338 boards 
    5967 */ 
    6068#ifdef CONFIG_BCM63XX_CPU_6338 
    void __init board_prom_init(void) 
    24922500 
    24932501        /* extract nvram data */ 
    24942502        memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET, sizeof(nvram)); 
     2503        memcpy(&nvram_buf, boot_addr + BCM963XX_NVRAM_OFFSET, NVRAM_SPACE); 
    24952504 
    24962505        /* check checksum before using data */ 
    24972506        if (nvram.version <= 4) 
  • arch/mips/mm/cache.c

    a b void (*_dma_cache_wback)(unsigned long s 
    5757void (*_dma_cache_inv)(unsigned long start, unsigned long size); 
    5858 
    5959EXPORT_SYMBOL(_dma_cache_wback_inv); 
     60EXPORT_SYMBOL(_dma_cache_inv); 
    6061 
    6162#endif /* CONFIG_DMA_NONCOHERENT */ 
    6263 
Note: See TracBrowser for help on using the repository browser.