ar71xx: Buffalo WHR-HP-G300N kernel support
[openwrt.git] / target / linux / lantiq / patches-2.6.32 / 510-register_madwifi.patch
1 --- a/arch/mips/lantiq/xway/devices.c
2 +++ b/arch/mips/lantiq/xway/devices.c
3 @@ -144,6 +144,16 @@
4 platform_device_register(&ltq_ebu);
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 @@ -17,5 +17,6 @@
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);
27
28 #endif
This page took 0.055849 seconds and 5 git commands to generate.