From: Tony Lindgren Date: Fri, 8 Jan 2010 18:29:06 +0000 (-0800) Subject: omap1: Fix compile for omap1_bl.c X-Git-Tag: v2.6.33-rc4~20^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66215949e6512f61c2c92b65ea79f8566e9e650a;p=pandora-kernel.git omap1: Fix compile for omap1_bl.c Commit 9905a43b made struct backlight_ops const. Omap was setting check_fb dynamically, which caused the following compile error: drivers/video/backlight/omap1_bl.c: In function 'omapbl_probe': drivers/video/backlight/omap1_bl.c:142: error: assignment of read-only variable 'omapbl_ops' Turns out pdata->check_fb is not being used, so just remove it to fix the compile. Cc: Emese Revfy Cc: Richard Purdie Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed