[kernel] pwm: export the generic pwm api as module
[openwrt.git] / target / linux / generic / files / drivers / pwm / Makefile
index 1c0e98e..af22041 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Makefile for pwm devices
 #
-obj-y := pwm.o
+obj-$(CONFIG_GENERIC_PWM) := pwm.o
 obj-$(CONFIG_ATMEL_PWM)                += atmel-pwm.o
 obj-$(CONFIG_GPIO_PWM)         += gpio-pwm.o