1
0

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

1234567891011121314151617181920212223242526
  1. --- a/drivers/leds/Kconfig
  2. +++ b/drivers/leds/Kconfig
  3. @@ -605,6 +605,13 @@ config LEDS_VERSATILE
  4. This option enabled support for the LEDs on the ARM Versatile
  5. and RealView boards. Say Y to enabled these.
  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. @@ -47,6 +47,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