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