X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ce23f8648eece445f381024a330a013fee06dd57..33bca57f0148859dbe70c197643903fbe92cfaec:/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_platform.h diff --git a/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_platform.h b/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_platform.h index ef895ed1c..d3b2213d3 100644 --- a/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_platform.h +++ b/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_platform.h @@ -62,7 +62,9 @@ static inline void adm5120_pci_set_irq_map(unsigned int nr_irqs, } #endif -#define ADM5120_NUM_BUTTONS 4 +#define ADM5120_NUM_BUTTONS 5 + +extern struct resource adm5120_gpiodev_resource; extern struct adm5120_flash_platform_data adm5120_flash0_data; extern struct adm5120_flash_platform_data adm5120_flash1_data; @@ -79,6 +81,7 @@ extern struct platform_device adm5120_nand_device; extern struct platform_device adm5120_hcd_device; extern struct platform_device adm5120_switch_device; extern struct platform_device adm5120_buttons_device; +extern struct platform_device adm5120_gpiodev_device; extern struct amba_device adm5120_uart0_device; extern struct amba_device adm5120_uart1_device;