2 arch/arm/mach-omap2/board-n8x0-lcd.c | 18 ++++++++++++++++++
3 1 file changed, 18 insertions(+)
5 Index: linux-2.6.37-rc1/arch/arm/mach-omap2/board-n8x0-lcd.c
6 ===================================================================
7 --- linux-2.6.37-rc1.orig/arch/arm/mach-omap2/board-n8x0-lcd.c 2010-11-05 17:02:04.318000134 +0100
8 +++ linux-2.6.37-rc1/arch/arm/mach-omap2/board-n8x0-lcd.c 2010-11-05 17:07:32.261000002 +0100
13 +static int n8x0_get_backlight_level(struct mipid_platform_data *pdata)
15 + return tahvo_get_backlight_level();
18 +static int n8x0_get_max_backlight_level(struct mipid_platform_data *pdata)
20 + return tahvo_get_max_backlight_level();
23 +static void n8x0_set_backlight_level(struct mipid_platform_data *pdata, int level)
25 + tahvo_set_backlight_level(level);
28 struct mipid_platform_data n8x0_mipid_platform_data = {
29 .shutdown = mipid_shutdown,
30 + .get_bklight_level = n8x0_get_backlight_level,
31 + .set_bklight_level = n8x0_set_backlight_level,
32 + .get_bklight_max = n8x0_get_max_backlight_level,
35 void __init n8x0_mipid_init(void)