a01-swconfig_leds-define-leds_set_brightness.patch 346 B

1234567891011
  1. --- a/drivers/net/phy/swconfig_leds.c
  2. +++ b/drivers/net/phy/swconfig_leds.c
  3. @@ -20,6 +20,8 @@
  4. #define SWCONFIG_LED_TIMER_INTERVAL (HZ / 10)
  5. #define SWCONFIG_LED_NUM_PORTS 32
  6. +#define led_set_brightness(_led, _switch) led_brightness_set((_led), (_switch))
  7. +
  8. struct switch_led_trigger {
  9. struct led_trigger trig;
  10. struct switch_dev *swdev;