diff options
Diffstat (limited to 'drivers/mfd/vexpress-sysreg.c')
-rw-r--r-- | drivers/mfd/vexpress-sysreg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/vexpress-sysreg.c b/drivers/mfd/vexpress-sysreg.c index bf75e967a1f3..96a020b1dcd1 100644 --- a/drivers/mfd/vexpress-sysreg.c +++ b/drivers/mfd/vexpress-sysreg.c | |||
@@ -490,12 +490,12 @@ static int vexpress_sysreg_probe(struct platform_device *pdev) | |||
490 | return err; | 490 | return err; |
491 | } | 491 | } |
492 | 492 | ||
493 | vexpress_sysreg_dev = &pdev->dev; | ||
494 | |||
493 | platform_device_register_data(vexpress_sysreg_dev, "leds-gpio", | 495 | platform_device_register_data(vexpress_sysreg_dev, "leds-gpio", |
494 | PLATFORM_DEVID_AUTO, &vexpress_sysreg_leds_pdata, | 496 | PLATFORM_DEVID_AUTO, &vexpress_sysreg_leds_pdata, |
495 | sizeof(vexpress_sysreg_leds_pdata)); | 497 | sizeof(vexpress_sysreg_leds_pdata)); |
496 | 498 | ||
497 | vexpress_sysreg_dev = &pdev->dev; | ||
498 | |||
499 | device_create_file(vexpress_sysreg_dev, &dev_attr_sys_id); | 499 | device_create_file(vexpress_sysreg_dev, &dev_attr_sys_id); |
500 | 500 | ||
501 | return 0; | 501 | return 0; |