summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/305-add-gpio-driver-switching.patch
blob: 9dc6548b672e9e4d7665430339d69d3591c50eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- linux-2.6.30.9.a/arch/rlx/Kconfig	2012-11-05 14:18:41.701066133 +0400
+++ linux-2.6.30.9.b/arch/rlx/Kconfig	2012-11-05 14:16:50.864374834 +0400
@@ -139,6 +139,22 @@
 config RTL_FLASH_MAPPING_ENABLE
 	bool "Enable Flash Mapping"
 
+choice 
+prompt "GPIO Driver to use"
+
+config RTL_GPIO
+	bool "Use realtek's GPIO driver"
+	
+
+config RTL_NGPIO
+	bool "Use Necromant's gpiolib driver (recommended)"
+	select GENERIC_GPIO
+       select ARCH_REQUIRE_GPIOLIB
+	select GPIO_RTL
+	default y
+
+endchoice
+	
 config POCKET_ROUTER_SUPPORT
 	bool "Pocket router support"