Message ID | 1306725816-11120-1-git-send-email-vapier@gentoo.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 70f289db31502ac030049450e63d380f3bc30cd2 |
Headers | show |
On Sun, May 29, 2011 at 11:23:36PM -0400, Mike Frysinger wrote: > From: Steven Miao <realmz6@gmail.com> > > 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> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/video/bf537-lq035.c b/drivers/video/bf537-lq035.c index 47c21fb..bea53c1 100644 --- a/drivers/video/bf537-lq035.c +++ b/drivers/video/bf537-lq035.c @@ -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);