aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120-2.6/patches/006-adm5120_gpio.patch
blob: 15a5eabf16592fba6165cecc049af7885d2c474c (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
26
27
Index: linux-2.6.21.1/drivers/char/Kconfig
===================================================================
--- linux-2.6.21.1.orig/drivers/char/Kconfig
+++ linux-2.6.21.1/drivers/char/Kconfig
@@ -1056,7 +1056,9 @@ config MMTIMER
 	  The mmtimer device allows direct userspace access to the
 	  Altix system timer.
 
-source "drivers/char/tpm/Kconfig"
+config ADM5120_GPIO
+	tristate "ADM5120 GPIO"
+	depends on MIPS_ADM5120
 
 config TELCLOCK
 	tristate "Telecom clock driver for ATCA SBC"
Index: linux-2.6.21.1/drivers/char/Makefile
===================================================================
--- linux-2.6.21.1.orig/drivers/char/Makefile
+++ linux-2.6.21.1/drivers/char/Makefile
@@ -93,6 +93,7 @@ obj-$(CONFIG_CS5535_GPIO)	+= cs5535_gpio
 obj-$(CONFIG_GPIO_VR41XX)	+= vr41xx_giu.o
 obj-$(CONFIG_TANBAC_TB0219)	+= tb0219.o
 obj-$(CONFIG_TELCLOCK)		+= tlclk.o
+obj-$(CONFIG_ADM5120_GPIO) 	+= adm5120_gpio.o
 
 obj-$(CONFIG_WATCHDOG)		+= watchdog/
 obj-$(CONFIG_MWAVE)		+= mwave/