1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:13:20 +02:00

[ar71xx] fix leds-gpio platform data initialization (closes #4512)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14238 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2009-01-28 11:48:14 +00:00
parent 2eb90f0fa7
commit 960184c86b

View File

@ -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)