generic: swconfig: use led_set_brightness in LED control code
authorGabor Juhos <juhosg@openwrt.org>
Fri, 26 Oct 2012 18:58:18 +0000 (18:58 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 26 Oct 2012 18:58:18 +0000 (18:58 +0000)
commitee9376d1537321c04cf71983619fba3f8c9b490a
tree236cc46cffc075ffe2584aaaa07fb24eca598f49
parent1127781d40c1a38de87ba4853dae47b2980dad03
generic: swconfig: use led_set_brightness in LED control code

The 'led_brightness_set' function has
been renamed to 'led_set_brightness'
in recent ernels. Use the new name and
add a compatibility patch for 3.3.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33946
target/linux/generic/files/drivers/net/phy/swconfig_leds.c
target/linux/generic/patches-3.3/a01-swconfig_leds-define-leds_set_brightness.patch [new file with mode: 0644]