[at91] Allow module compilation for adc driver
[openwrt/svn-archive/archive.git] / target / linux / at91 / patches / 200-experimenta_adc_driver.patch
1 Index: linux-2.6.35.9/drivers/misc/Kconfig
2 ===================================================================
3 --- linux-2.6.35.9.orig/drivers/misc/Kconfig 2010-12-20 19:06:11.185139238 +0100
4 +++ linux-2.6.35.9/drivers/misc/Kconfig 2010-12-20 19:07:31.000000000 +0100
5 @@ -95,6 +95,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.35.9/drivers/misc/Makefile
17 ===================================================================
18 --- linux-2.6.35.9.orig/drivers/misc/Makefile 2010-12-20 19:04:59.494200153 +0100
19 +++ linux-2.6.35.9/drivers/misc/Makefile 2010-12-20 19:06:04.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_ICS932S401) += ics932s401.o
26 obj-$(CONFIG_LKDTM) += lkdtm.o
27 obj-$(CONFIG_TIFM_CORE) += tifm_core.o