aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-01-28 11:48:14 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-01-28 11:48:14 +0000
commit0460a9eb379695060dd6719def48b1517f4401e5 (patch)
tree581f60a81a32865dfb7427c9bfd24b4155d81fd4 /target/linux/ar71xx
parent90ea93e4aa15c4ce5976b4580e9d1f79ab617213 (diff)
downloadupstream-0460a9eb379695060dd6719def48b1517f4401e5.tar.gz
upstream-0460a9eb379695060dd6719def48b1517f4401e5.tar.bz2
upstream-0460a9eb379695060dd6719def48b1517f4401e5.zip
[ar71xx] fix leds-gpio platform data initialization (closes #4512)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14238 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c b/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
index a01aecbd99..d8ed28a431 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
@@ -515,7 +515,7 @@ void __init ar71xx_add_device_leds_gpio(int id, unsigned num_leds,
memset(&pdata, 0, sizeof(pdata));
pdata.num_leds = num_leds;
- pdata.leds = leds;
+ pdata.leds = p;
err = platform_device_add_data(pdev, &pdata, sizeof(pdata));
if (err)