Commit ce8c47cf authored by Andrew Morton's avatar Andrew Morton Committed by Richard Purdie

leds: cr_bllcd.c: build fix

Build fix for cr_bllcd.c
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
parent 655bfd7a
...@@ -202,7 +202,7 @@ static int cr_backlight_probe(struct platform_device *pdev) ...@@ -202,7 +202,7 @@ static int cr_backlight_probe(struct platform_device *pdev)
} }
crp->cr_lcd_device = lcd_device_register("cr-lcd", crp->cr_lcd_device = lcd_device_register("cr-lcd",
&pdev->dev, NULL &pdev->dev, NULL,
&cr_lcd_ops); &cr_lcd_ops);
if (IS_ERR(crp->cr_lcd_device)) { if (IS_ERR(crp->cr_lcd_device)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment