440-leds-wndr3700-usb-led-driver.patch 939 B

1234567891011121314151617181920212223242526
  1. --- a/drivers/leds/Kconfig
  2. +++ b/drivers/leds/Kconfig
  3. @@ -696,6 +696,13 @@ config LEDS_NIC78BX
  4. To compile this driver as a module, choose M here: the module
  5. will be called leds-nic78bx.
  6. +config LEDS_WNDR3700_USB
  7. + tristate "NETGEAR WNDR3700 USB LED driver"
  8. + depends on LEDS_CLASS && ATH79_MACH_WNDR3700
  9. + help
  10. + This option enables support for the USB LED found on the
  11. + NETGEAR WNDR3700 board.
  12. +
  13. comment "LED Triggers"
  14. source "drivers/leds/trigger/Kconfig"
  15. --- a/drivers/leds/Makefile
  16. +++ b/drivers/leds/Makefile
  17. @@ -51,6 +51,7 @@ obj-$(CONFIG_LEDS_DA9052) += leds-da905
  18. obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o
  19. obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o
  20. obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
  21. +obj-${CONFIG_LEDS_WNDR3700_USB} += leds-wndr3700-usb.o
  22. obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
  23. obj-$(CONFIG_LEDS_INTEL_SS4200) += leds-ss4200.o
  24. obj-$(CONFIG_LEDS_LT3593) += leds-lt3593.o