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 74af38b49aa91d29485e19c0524836a8f51ae09a..5408b6d5a25beaba3fc66793ed3e1ca25642fa0f 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 b1bb76a89256444106dc492cb345343acabe8140..eed258dc22b9a4b52c0f4d0aab2f5f7b3f3c8cc1 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