get ready for 3.0
[openwrt/staging/chunkeey.git] / target / linux / lantiq / patches-3.0 / 510-register_madwifi.patch
1 --- a/arch/mips/lantiq/xway/devices.c
2 +++ b/arch/mips/lantiq/xway/devices.c
3 @@ -121,6 +121,16 @@
4 }
5 }
6
7 +/* madwifi */
8 +int lantiq_emulate_madwifi_eep = 0;
9 +EXPORT_SYMBOL(lantiq_emulate_madwifi_eep);
10 +
11 +void __init
12 +ltq_register_madwifi_eep(void)
13 +{
14 + lantiq_emulate_madwifi_eep = 1;
15 +}
16 +
17 static struct resource ltq_spi_resources[] = {
18 {
19 .start = LTQ_SSC_BASE_ADDR,
20 --- a/arch/mips/lantiq/xway/devices.h
21 +++ b/arch/mips/lantiq/xway/devices.h
22 @@ -19,5 +19,6 @@
23 extern void ltq_register_etop(struct ltq_eth_data *eth);
24 extern void ltq_register_spi(struct ltq_spi_platform_data *pdata,
25 struct spi_board_info const *info, unsigned n);
26 +extern void ltq_register_madwifi_eep(void);
27
28 #endif