generic: fix build failure in MIPS kexec code if SMP is enabled
[openwrt.git] / target / linux / generic / patches-3.3 / a01-swconfig_leds-define-leds_set_brightness.patch
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  
7 +#define led_set_brightness(_led, _switch)      led_brightness_set((_led), (_switch))
8 +
9  struct switch_led_trigger {
10         struct led_trigger trig;
11         struct switch_dev *swdev;