source: trunk/target/linux/brcm63xx/patches-3.0/110-gpiodev.patch @ 27192

Last change on this file since 27192 was 27192, checked in by florian, 5 years ago

bcm63xx: Add support for Linux 3.0-rc3

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

File size: 666 bytes
  • arch/mips/bcm63xx/boards/board_bcm963xx.c

    a b static struct platform_device mtd_dev = 
    864864        .num_resources          = ARRAY_SIZE(mtd_resources), 
    865865}; 
    866866 
     867static struct resource gpiodev_resource = { 
     868        .start                  = 0xFFFFFFFF, 
     869}; 
     870 
    867871static struct gpio_led_platform_data bcm63xx_led_data; 
    868872 
    869873static struct platform_device bcm63xx_gpio_leds = { 
    int __init board_register_devices(void) 
    928932 
    929933        platform_device_register(&mtd_dev); 
    930934 
     935        platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1); 
     936 
    931937        bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds); 
    932938        bcm63xx_led_data.leds = board.leds; 
    933939 
Note: See TracBrowser for help on using the repository browser.