From: Imre Kaloz Date: Mon, 12 Jan 2015 11:58:41 +0000 (+0000) Subject: pwm support can't be compiled as a module X-Git-Tag: reboot~4726 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a2ed38f7b6e13d3ea4b4a389d48536e6243fcaa9;p=openwrt%2Fstaging%2Flynxis.git pwm support can't be compiled as a module Signed-off-by: Imre Kaloz SVN-Revision: 43947 --- diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 74af38b49a..5408b6d5a2 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -295,7 +295,7 @@ define KernelPackage/hwmon-pwmfan KCONFIG:=CONFIG_SENSORS_PWM_FAN FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko AUTOLOAD:=$(call AutoLoad,60,pwm-fan) - $(call AddDepends/hwmon,+kmod-pwm) + $(call AddDepends/hwmon,) DEPENDS+=@!LINUX_3_3 @!LINUX_3_8 @!LINUX_3_10 @!LINUX_3_14 endef diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index b1bb76a892..eed258dc22 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -495,20 +495,6 @@ endef $(eval $(call KernelPackage,booke-wdt)) -define KernelPackage/pwm - SUBMENU:=$(OTHER_MENU) - TITLE:=PWM generic API - KCONFIG:=CONFIG_GENERIC_PWM - FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko -endef - -define KernelPackage/pwm/description - Kernel module that implement a generic PWM API -endef - -$(eval $(call KernelPackage,pwm)) - - define KernelPackage/rtc-ds1307 SUBMENU:=$(OTHER_MENU) TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support