Changeset 15509


Ignore:
Timestamp:
2009-04-30T16:09:01+02:00 (9 years ago)
Author:
florian
Message:

[brmc63xx] register gpiodev

Location:
trunk/target/linux/brcm63xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/config-2.6.27

    r15215 r15509  
    8282# CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set 
    8383CONFIG_GPIOLIB=y 
     84CONFIG_GPIO_DEVICE=y 
    8485# CONFIG_HAMRADIO is not set 
    8586CONFIG_HAS_DMA=y 
  • trunk/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c

    r14914 r15509  
    495495}; 
    496496 
     497static struct resource gpiodev_resource = { 
     498        .start                  = 0xFFFFFFFF, 
     499}; 
     500 
    497501/* 
    498502 * third stage init callback, register all board devices. 
     
    542546        platform_device_register(&mtd_dev); 
    543547 
     548        /* Register GPIODEV */ 
     549        platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1); 
     550 
    544551        return 0; 
    545552} 
Note: See TracChangeset for help on using the changeset viewer.