Ticket #10453: gpioctl.patch

File gpioctl.patch, 661 bytes (added by danitool <dgcbueu@…>, 6 years ago)
  • arch/mips/bcm63xx/boards/board_bcm963xx.c

    a b  
    23612361        .num_resources          = ARRAY_SIZE(mtd_resources), 
    23622362}; 
    23632363 
     2364static struct resource gpiodev_resource = { 
     2365        .start                  = 0xFFFFFFFF, 
     2366}; 
     2367 
    23642368static struct gpio_led_platform_data bcm63xx_led_data; 
    23652369 
    23662370static struct platform_device bcm63xx_gpio_leds = { 
     
    24532457        mtd_resources[0].end = 0x1FFFFFFF; 
    24542458 
    24552459        platform_device_register(&mtd_dev); 
     2460         
     2461        platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1); 
    24562462 
    24572463        /* count number of LEDs defined by this device */ 
    24582464        while (led_count < ARRAY_SIZE(board.leds) && board.leds[led_count].name)