mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
fbdev: bf537-lq035: add missing blacklight properties type
Seems this new field was missed, probably due to this driver being merged around the time this new backlight field was being added. At any rate, initial the type field to avoid ugly WARN() dumps. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
1bae852fb0
commit
70f289db31
@ -789,6 +789,7 @@ static int __devinit bfin_lq035_probe(struct platform_device *pdev)
|
||||
i2c_add_driver(&ad5280_driver);
|
||||
|
||||
memset(&props, 0, sizeof(props));
|
||||
props.type = BACKLIGHT_RAW;
|
||||
props.max_brightness = MAX_BRIGHENESS;
|
||||
bl_dev = backlight_device_register("bf537-bl", NULL, NULL,
|
||||
&bfin_lq035fb_bl_ops, &props);
|
||||
|
Loading…
Reference in New Issue
Block a user