fix leds-gpio platform data initialization (closes #4512)
SVN-Revision: 14238
This commit is contained in:
parent
a7187cb4ff
commit
e3d58387a3
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ void __init ar71xx_add_device_leds_gpio(int id, unsigned num_leds,
|
||||||
|
|
||||||
memset(&pdata, 0, sizeof(pdata));
|
memset(&pdata, 0, sizeof(pdata));
|
||||||
pdata.num_leds = num_leds;
|
pdata.num_leds = num_leds;
|
||||||
pdata.leds = leds;
|
pdata.leds = p;
|
||||||
|
|
||||||
err = platform_device_add_data(pdev, &pdata, sizeof(pdata));
|
err = platform_device_add_data(pdev, &pdata, sizeof(pdata));
|
||||||
if (err)
|
if (err)
|
||||||
|
|
Loading…
Reference in a new issue