625b377976a267b8c299cfaacdffe7934f523021
[openwrt.git] / target / linux / at91 / patches / 200-experimenta_adc_driver.patch
1 Index: linux-2.6.38/drivers/misc/Kconfig
2 ===================================================================
3 --- linux-2.6.38.orig/drivers/misc/Kconfig      2011-03-15 02:20:32.000000000 +0100
4 +++ linux-2.6.38/drivers/misc/Kconfig   2011-03-20 22:54:33.114794033 +0100
5 @@ -104,6 +104,10 @@
6           TC can be used for other purposes, such as PWM generation and
7           interval timing.
8  
9 +config AT91_ADC
10 +       tristate "AT91 ADC converter"
11 +       depends on ARCH_AT91 && SYSFS
12 +
13  config IBM_ASM
14         tristate "Device driver for IBM RSA service processor"
15         depends on X86 && PCI && INPUT && EXPERIMENTAL
16 Index: linux-2.6.38/drivers/misc/Makefile
17 ===================================================================
18 --- linux-2.6.38.orig/drivers/misc/Makefile     2011-03-15 02:20:32.000000000 +0100
19 +++ linux-2.6.38/drivers/misc/Makefile  2011-03-20 22:55:18.000000000 +0100
20 @@ -9,6 +9,7 @@
21  obj-$(CONFIG_ATMEL_PWM)                += atmel_pwm.o
22  obj-$(CONFIG_ATMEL_SSC)                += atmel-ssc.o
23  obj-$(CONFIG_ATMEL_TCLIB)      += atmel_tclib.o
24 +obj-$(CONFIG_AT91_ADC)         += at91-adc.o
25  obj-$(CONFIG_BMP085)           += bmp085.o
26  obj-$(CONFIG_ICS932S401)       += ics932s401.o
27  obj-$(CONFIG_LKDTM)            += lkdtm.o
28