diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-10 08:19:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-10 08:19:33 +0000 |
commit | 07c8ccf1634e96c5e578634dfb89c3e5dedf27ab (patch) | |
tree | 6dcf8415967ca61be25c9a055249016b10caa9eb /target/linux/ar71xx/patches-3.2/301-leds-wndr3700-3.2-fixes.patch | |
parent | 0b6aaa98af5e16a8748b90415bf4c14f23742bf6 (diff) | |
download | upstream-07c8ccf1634e96c5e578634dfb89c3e5dedf27ab.tar.gz upstream-07c8ccf1634e96c5e578634dfb89c3e5dedf27ab.tar.bz2 upstream-07c8ccf1634e96c5e578634dfb89c3e5dedf27ab.zip |
ar71xx: merge 3.2 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30406 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.2/301-leds-wndr3700-3.2-fixes.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.2/301-leds-wndr3700-3.2-fixes.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/ar71xx/patches-3.2/301-leds-wndr3700-3.2-fixes.patch b/target/linux/ar71xx/patches-3.2/301-leds-wndr3700-3.2-fixes.patch deleted file mode 100644 index 1b5012b7db..0000000000 --- a/target/linux/ar71xx/patches-3.2/301-leds-wndr3700-3.2-fixes.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/drivers/leds/leds-wndr3700-usb.c -+++ b/drivers/leds/leds-wndr3700-usb.c -@@ -12,7 +12,8 @@ - #include <linux/module.h> - #include <linux/platform_device.h> - --#include <asm/mach-ar71xx/ar71xx.h> -+#include <asm/mach-ath79/ar71xx_regs.h> -+#include <asm/mach-ath79/ath79.h> - - #define DRIVER_NAME "wndr3700-led-usb" - -@@ -20,14 +21,14 @@ static void wndr3700_usb_led_set(struct - enum led_brightness brightness) - { - if (brightness) -- ar71xx_device_start(RESET_MODULE_GE1_PHY); -+ ath79_device_reset_clear(AR71XX_RESET_GE1_PHY); - else -- ar71xx_device_stop(RESET_MODULE_GE1_PHY); -+ ath79_device_reset_set(AR71XX_RESET_GE1_PHY); - } - - static enum led_brightness wndr3700_usb_led_get(struct led_classdev *cdev) - { -- return ar71xx_device_stopped(RESET_MODULE_GE1_PHY) ? LED_OFF : LED_FULL; -+ return ath79_device_reset_get(AR71XX_RESET_GE1_PHY) ? LED_OFF : LED_FULL; - } - - static struct led_classdev wndr3700_usb_led = { |