pwm support can't be compiled as a module
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43947
This commit is contained in:
		@@ -295,7 +295,7 @@ define KernelPackage/hwmon-pwmfan
 | 
				
			|||||||
  KCONFIG:=CONFIG_SENSORS_PWM_FAN
 | 
					  KCONFIG:=CONFIG_SENSORS_PWM_FAN
 | 
				
			||||||
  FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
 | 
					  FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
 | 
				
			||||||
  AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
 | 
					  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
 | 
					  DEPENDS+=@!LINUX_3_3 @!LINUX_3_8 @!LINUX_3_10 @!LINUX_3_14
 | 
				
			||||||
endef
 | 
					endef
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -495,20 +495,6 @@ endef
 | 
				
			|||||||
$(eval $(call KernelPackage,booke-wdt))
 | 
					$(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
 | 
					define KernelPackage/rtc-ds1307
 | 
				
			||||||
  SUBMENU:=$(OTHER_MENU)
 | 
					  SUBMENU:=$(OTHER_MENU)
 | 
				
			||||||
  TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
 | 
					  TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user