generic: swconfig: use led_set_brightness in LED control code
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 26 Oct 2012 18:58:18 +0000 (18:58 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 26 Oct 2012 18:58:18 +0000 (18:58 +0000)
commit118178a078be6329a6b96b242e88bb85e5225cf5
tree489d736c0949b490c80b5bb833f2265492c50622
parent52ff80a55b5069d0770d9a6b32c2943a06798150
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33946 3c298f89-4303-0410-b956-a3cf2f4a3e73
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]