1 --- a/arch/mips/lantiq/xway/devices.c
2 +++ b/arch/mips/lantiq/xway/devices.c
4 platform_device_register(<q_gpio_buttons_platform_device);
8 +static struct resource ltq_ebu_resource =
11 + .start = LTQ_EBU_GPIO_START,
12 + .end = LTQ_EBU_GPIO_START + LTQ_EBU_GPIO_SIZE - 1,
13 + .flags = IORESOURCE_MEM,
16 +static struct platform_device ltq_ebu =
19 + .resource = <q_ebu_resource,
24 +ltq_register_gpio_ebu(unsigned int value)
26 + ltq_ebu.dev.platform_data = (void*) value;
27 + platform_device_register(<q_ebu);
30 static struct resource ltq_spi_resources[] = {
32 .start = LTQ_SSC_BASE_ADDR,
33 --- a/arch/mips/lantiq/xway/devices.h
34 +++ b/arch/mips/lantiq/xway/devices.h
37 extern void ltq_register_gpio(void);
38 extern void ltq_register_gpio_stp(void);
39 +extern void ltq_register_gpio_ebu(unsigned int value);
40 extern void ltq_register_ase_asc(void);
41 extern void ltq_register_etop(struct ltq_eth_data *eth);
42 extern void ltq_register_spi(struct ltq_spi_platform_data *pdata,