]> git.baikalelectronics.ru Git - kernel.git/commit
omap1: Fix compile for omap1_bl.c
authorTony Lindgren <tony@atomide.com>
Fri, 8 Jan 2010 18:29:06 +0000 (10:29 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Jan 2010 18:29:06 +0000 (10:29 -0800)
commit72552444a54a186f492692f0352c3e8e36b08872
tree8efbddd63e7225731391cf7c67786a0e133b2c46
parentcf2f74be4045213192bb9b456bde83e7443dc717
omap1: Fix compile for omap1_bl.c

Commit 3ba715ff 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 <re.emese@gmail.com>
Cc: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/board.h
drivers/video/backlight/omap1_bl.c