mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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 <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>