X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ae57d8838ce086c44a95b54816191ed9e92545b2..32852643effdfb39cb728720e77e817b0fada3fd:/target/linux/at91/modules.mk 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))