1 --- a/arch/mips/lantiq/xway/devices.c
2 +++ b/arch/mips/lantiq/xway/devices.c
3 @@ -144,6 +144,16 @@ ltq_register_gpio_ebu(unsigned int value
4 platform_device_register(<q_ebu);
8 +int lantiq_emulate_madwifi_eep = 0;
9 +EXPORT_SYMBOL(lantiq_emulate_madwifi_eep);
12 +ltq_register_madwifi_eep(void)
14 + lantiq_emulate_madwifi_eep = 1;
17 static struct resource ltq_spi_resources[] = {
19 .start = LTQ_SSC_BASE_ADDR,
20 --- a/arch/mips/lantiq/xway/devices.h
21 +++ b/arch/mips/lantiq/xway/devices.h
22 @@ -17,5 +17,6 @@ extern void ltq_register_gpio_stp(void);
23 extern void ltq_register_ase_asc(void);
24 extern void ltq_register_etop(struct ltq_eth_data *eth);
25 extern void ltq_register_gpio_ebu(unsigned int value);
26 +extern void ltq_register_madwifi_eep(void);