summaryrefslogtreecommitdiff
path: root/target/linux/at91/modules.mk
diff options
context:
space:
mode:
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 438b663a16..0c6c03ab59 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))