pwm support can't be compiled as a module
authorImre Kaloz <kaloz@openwrt.org>
Mon, 12 Jan 2015 11:58:41 +0000 (11:58 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Mon, 12 Jan 2015 11:58:41 +0000 (11:58 +0000)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43947

package/kernel/linux/modules/hwmon.mk
package/kernel/linux/modules/other.mk

index 74af38b..5408b6d 100644 (file)
@@ -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
 
index b1bb76a..eed258d 100644 (file)
@@ -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