Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Steven Miao and committed by
Paul Mundt
70f289db 1bae852f

+1
+1
drivers/video/bf537-lq035.c
··· 789 789 i2c_add_driver(&ad5280_driver); 790 790 791 791 memset(&props, 0, sizeof(props)); 792 + props.type = BACKLIGHT_RAW; 792 793 props.max_brightness = MAX_BRIGHENESS; 793 794 bl_dev = backlight_device_register("bf537-bl", NULL, NULL, 794 795 &bfin_lq035fb_bl_ops, &props);