diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-09-08 13:07:15 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-11 15:53:38 -0400 |
commit | 771fd565195727d12f0b75d918b9fcb9f33a5476 (patch) | |
tree | d162c46a5c7a4ba57927d70257b7eaafb0729909 /drivers/net/wireless/rt2x00/Kconfig | |
parent | 58169529986e81e0d477ce11eb8b91f025f649c1 (diff) |
rt2x00: Make rt2x00 LEDS invisible config option
There isn't really a good reason to have the LED
configuration options selectable per driver, lets
make it default 'y' and make it depend on the
NEW_LEDS and LEDS_CLASS interface.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/Kconfig')
-rw-r--r-- | drivers/net/wireless/rt2x00/Kconfig | 45 |
1 files changed, 4 insertions, 41 deletions
diff --git a/drivers/net/wireless/rt2x00/Kconfig b/drivers/net/wireless/rt2x00/Kconfig index c896c9903879..b686dc45483e 100644 --- a/drivers/net/wireless/rt2x00/Kconfig +++ b/drivers/net/wireless/rt2x00/Kconfig | |||
@@ -45,7 +45,10 @@ config RT2X00_LIB_RFKILL | |||
45 | 45 | ||
46 | config RT2X00_LIB_LEDS | 46 | config RT2X00_LIB_LEDS |
47 | boolean | 47 | boolean |
48 | depends on RT2X00_LIB && NEW_LEDS | 48 | depends on RT2X00_LIB |
49 | depends on NEW_LEDS | ||
50 | depends on LEDS_CLASS | ||
51 | default y | ||
49 | 52 | ||
50 | config RT2400PCI | 53 | config RT2400PCI |
51 | tristate "Ralink rt2400 (PCI/PCMCIA) support" | 54 | tristate "Ralink rt2400 (PCI/PCMCIA) support" |
@@ -58,14 +61,6 @@ config RT2400PCI | |||
58 | 61 | ||
59 | When compiled as a module, this driver will be called "rt2400pci.ko". | 62 | When compiled as a module, this driver will be called "rt2400pci.ko". |
60 | 63 | ||
61 | config RT2400PCI_LEDS | ||
62 | bool "Ralink rt2400 leds support" | ||
63 | depends on RT2400PCI && NEW_LEDS | ||
64 | select LEDS_CLASS | ||
65 | select RT2X00_LIB_LEDS | ||
66 | ---help--- | ||
67 | This adds support for led triggers provided my mac80211. | ||
68 | |||
69 | config RT2500PCI | 64 | config RT2500PCI |
70 | tristate "Ralink rt2500 (PCI/PCMCIA) support" | 65 | tristate "Ralink rt2500 (PCI/PCMCIA) support" |
71 | depends on PCI | 66 | depends on PCI |
@@ -77,14 +72,6 @@ config RT2500PCI | |||
77 | 72 | ||
78 | When compiled as a module, this driver will be called "rt2500pci.ko". | 73 | When compiled as a module, this driver will be called "rt2500pci.ko". |
79 | 74 | ||
80 | config RT2500PCI_LEDS | ||
81 | bool "Ralink rt2500 leds support" | ||
82 | depends on RT2500PCI && NEW_LEDS | ||
83 | select LEDS_CLASS | ||
84 | select RT2X00_LIB_LEDS | ||
85 | ---help--- | ||
86 | This adds support for led triggers provided my mac80211. | ||
87 | |||
88 | config RT61PCI | 75 | config RT61PCI |
89 | tristate "Ralink rt2501/rt61 (PCI/PCMCIA) support" | 76 | tristate "Ralink rt2501/rt61 (PCI/PCMCIA) support" |
90 | depends on PCI | 77 | depends on PCI |
@@ -99,14 +86,6 @@ config RT61PCI | |||
99 | 86 | ||
100 | When compiled as a module, this driver will be called "rt61pci.ko". | 87 | When compiled as a module, this driver will be called "rt61pci.ko". |
101 | 88 | ||
102 | config RT61PCI_LEDS | ||
103 | bool "Ralink rt2501/rt61 leds support" | ||
104 | depends on RT61PCI && NEW_LEDS | ||
105 | select LEDS_CLASS | ||
106 | select RT2X00_LIB_LEDS | ||
107 | ---help--- | ||
108 | This adds support for led triggers provided my mac80211. | ||
109 | |||
110 | config RT2500USB | 89 | config RT2500USB |
111 | tristate "Ralink rt2500 (USB) support" | 90 | tristate "Ralink rt2500 (USB) support" |
112 | depends on USB | 91 | depends on USB |
@@ -117,14 +96,6 @@ config RT2500USB | |||
117 | 96 | ||
118 | When compiled as a module, this driver will be called "rt2500usb.ko". | 97 | When compiled as a module, this driver will be called "rt2500usb.ko". |
119 | 98 | ||
120 | config RT2500USB_LEDS | ||
121 | bool "Ralink rt2500 leds support" | ||
122 | depends on RT2500USB && NEW_LEDS | ||
123 | select LEDS_CLASS | ||
124 | select RT2X00_LIB_LEDS | ||
125 | ---help--- | ||
126 | This adds support for led triggers provided my mac80211. | ||
127 | |||
128 | config RT73USB | 99 | config RT73USB |
129 | tristate "Ralink rt2501/rt73 (USB) support" | 100 | tristate "Ralink rt2501/rt73 (USB) support" |
130 | depends on USB | 101 | depends on USB |
@@ -138,14 +109,6 @@ config RT73USB | |||
138 | 109 | ||
139 | When compiled as a module, this driver will be called "rt73usb.ko". | 110 | When compiled as a module, this driver will be called "rt73usb.ko". |
140 | 111 | ||
141 | config RT73USB_LEDS | ||
142 | bool "Ralink rt2501/rt73 leds support" | ||
143 | depends on RT73USB && NEW_LEDS | ||
144 | select LEDS_CLASS | ||
145 | select RT2X00_LIB_LEDS | ||
146 | ---help--- | ||
147 | This adds support for led triggers provided my mac80211. | ||
148 | |||
149 | config RT2X00_LIB_DEBUGFS | 112 | config RT2X00_LIB_DEBUGFS |
150 | bool "Ralink debugfs support" | 113 | bool "Ralink debugfs support" |
151 | depends on RT2X00_LIB && MAC80211_DEBUGFS | 114 | depends on RT2X00_LIB && MAC80211_DEBUGFS |