8e0875ea7aa484fda9d88bc3ecef71016b429fc2
[openwrt.git] / package / mac80211 / 800-nuke_led_code.patch
1 --- a/config.mk
2 +++ b/config.mk
3 @@ -115,7 +115,7 @@ CONFIG_COMPAT_MAC80211_RC_DEFAULT=minstr
4 # CONFIG_MAC80211_RC_PID=y
5 CONFIG_MAC80211_RC_MINSTREL=y
6 CONFIG_MAC80211_RC_MINSTREL_HT=y
7 -CONFIG_MAC80211_LEDS=y
8 +# CONFIG_MAC80211_LEDS=y
9
10 # enable mesh networking too
11 CONFIG_MAC80211_MESH=y
12 @@ -194,7 +194,7 @@ CONFIG_B43_PCI_AUTOSELECT=y
13 ifneq ($(CONFIG_PCMCIA),)
14 # CONFIG_B43_PCMCIA=y
15 endif
16 -CONFIG_B43_LEDS=y
17 +# CONFIG_B43_LEDS=y
18 CONFIG_B43_PHY_LP=y
19 # CONFIG_B43_NPHY is not set
20 # CONFIG_B43_FORCE_PIO=y
21 @@ -203,7 +203,7 @@ CONFIG_B43_PHY_LP=y
22 CONFIG_B43LEGACY=m
23 CONFIG_B43LEGACY_HWRNG=y
24 CONFIG_B43LEGACY_PCI_AUTOSELECT=y
25 -CONFIG_B43LEGACY_LEDS=y
26 +# CONFIG_B43LEGACY_LEDS=y
27 # CONFIG_B43LEGACY_DEBUG=y
28 CONFIG_B43LEGACY_DMA=y
29 CONFIG_B43LEGACY_PIO=y
30 @@ -336,13 +336,13 @@ endif
31
32 CONFIG_P54_USB=m
33 CONFIG_RTL8187=m
34 -CONFIG_RTL8187_LEDS=y
35 +# CONFIG_RTL8187_LEDS=y
36
37 CONFIG_AT76C50X_USB=m
38
39 ifndef CONFIG_COMPAT_KERNEL_28
40 CONFIG_AR9170_USB=m
41 -CONFIG_AR9170_LEDS=y
42 +# CONFIG_AR9170_LEDS=y
43 endif
44
45 CONFIG_ATH9K_HTC=m
46 @@ -426,7 +426,7 @@ CONFIG_RT2800_LIB=m
47 CONFIG_RT2X00_LIB_HT=y
48 CONFIG_RT2X00_LIB_FIRMWARE=y
49 CONFIG_RT2X00_LIB_CRYPTO=y
50 -CONFIG_RT2X00_LIB_LEDS=y
51 +# CONFIG_RT2X00_LIB_LEDS=y
52 # CONFIG_RT2X00_DEBUG=y
53 # CONFIG_RT2X00_LIB_DEBUGFS
54 endif
55 @@ -437,7 +437,7 @@ endif
56
57 # p54
58 CONFIG_P54_COMMON=m
59 -CONFIG_P54_LEDS=y
60 +# CONFIG_P54_LEDS=y
61
62 # Atheros
63 CONFIG_ATH_COMMON=m
64 --- a/include/linux/compat-2.6.25.h
65 +++ b/include/linux/compat-2.6.25.h
66 @@ -146,10 +146,12 @@ static inline void __hwrng_unregister(st
67 hwrng_unregister(rng);
68 }
69
70 +#ifdef CONFIG_MAC80211_LEDS
71 static inline void led_classdev_unregister_suspended(struct led_classdev *lcd)
72 {
73 led_classdev_unregister(lcd);
74 }
75 +#endif
76
77 /**
78 * The following things are out of ./include/linux/kernel.h
This page took 0.044696 seconds and 3 git commands to generate.