summaryrefslogtreecommitdiffstats
path: root/target/linux/at91/modules.mk
diff options
context:
space:
mode:
authorclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-23 15:20:26 +0000
committerclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-23 15:20:26 +0000
commita8cab73a4c88e4e6e88bfebb2ae66128dfce6f4a (patch)
treea6a48239a34e79450b9207d0c4d86cd8b30ee878 /target/linux/at91/modules.mk
parent82090c99a3a9819fdf1dfc327977caa87f864e56 (diff)
[at91] Import an experimental ADC driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24814 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91/modules.mk')
-rw-r--r--target/linux/at91/modules.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/at91/modules.mk b/target/linux/at91/modules.mk
index 438b663a1..0c6c03ab5 100644
--- a/target/linux/at91/modules.mk
+++ b/target/linux/at91/modules.mk
@@ -35,3 +35,18 @@ define KernelPackage/pwm-atmel/description
endef
$(eval $(call KernelPackage,pwm-atmel))
+
+define KernelPackage/at91-adc
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=ADC on atmel SoC
+ DEPENDS:=@TARGET_at91
+ KCONFIG:=CONFIG_AT91_ADC
+ FILES:=$(LINUX_DIR)/drivers/misc/at91-adc.ko
+ AUTOLOAD:=$(call AutoLoad,40,at91-adc)
+endef
+
+define KernelPackage/at91-adc/description
+ Kernel module to use the ADC channels of SoC
+endef
+
+$(eval $(call KernelPackage,at91-adc))