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)
commit41657c05bcae404ed6690e2a6b755952135c2f6a
tree489d736c0949b490c80b5bb833f2265492c50622
parentad8be8cd115c67a1314937230659e2c70592daf1
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]