Skip to content

Commit

Permalink
rt2x00: convert RT2800PCI_PCI and RT2800PCI_SOC Kconfig symbols to bo…
Browse files Browse the repository at this point in the history
…oleans.

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>
  • Loading branch information
Gertjan van Wingerde authored and John W. Linville committed Dec 28, 2009
1 parent ac39491 commit 73a2f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/rt2x00/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ config RT61PCI
When compiled as a module, this driver will be called rt61pci.

config RT2800PCI_PCI
tristate
boolean
depends on PCI
default y

config RT2800PCI_SOC
tristate
boolean
depends on RALINK_RT288X || RALINK_RT305X
default y

Expand Down
8 changes: 0 additions & 8 deletions drivers/net/wireless/rt2x00/rt2800pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@
#include "rt2800.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.
*/
Expand Down

0 comments on commit 73a2f12

Please sign in to comment.