rt2x00: convert RT2800PCI_PCI and RT2800PCI_SOC Kconfig symbols to booleans.
There is no need for Kconfig symbols RT2800PCI_PCI and RT2800PCI_SOC to be tristates, as they are only used to check whether RT2800 PCI or SOC support is to be compiled in. Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
ac394917f5
commit
73a2f1259e
2 changed files with 2 additions and 10 deletions
|
@ -54,12 +54,12 @@ config RT61PCI
|
||||||
When compiled as a module, this driver will be called rt61pci.
|
When compiled as a module, this driver will be called rt61pci.
|
||||||
|
|
||||||
config RT2800PCI_PCI
|
config RT2800PCI_PCI
|
||||||
tristate
|
boolean
|
||||||
depends on PCI
|
depends on PCI
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RT2800PCI_SOC
|
config RT2800PCI_SOC
|
||||||
tristate
|
boolean
|
||||||
depends on RALINK_RT288X || RALINK_RT305X
|
depends on RALINK_RT288X || RALINK_RT305X
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
|
|
@ -48,14 +48,6 @@
|
||||||
#include "rt2800.h"
|
#include "rt2800.h"
|
||||||
#include "rt2800pci.h"
|
#include "rt2800pci.h"
|
||||||
|
|
||||||
#ifdef CONFIG_RT2800PCI_PCI_MODULE
|
|
||||||
#define CONFIG_RT2800PCI_PCI
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_RT2800PCI_SOC_MODULE
|
|
||||||
#define CONFIG_RT2800PCI_SOC
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allow hardware encryption to be disabled.
|
* Allow hardware encryption to be disabled.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue