2 arch/arm/mach-omap2/board-n8x0-lcd.c | 18 ++++++++++++++++++
3 1 file changed, 18 insertions(+)
5 Index: linux-2.6.38-rc6/arch/arm/mach-omap2/board-n8x0-lcd.c
6 ===================================================================
7 --- linux-2.6.38-rc6.orig/arch/arm/mach-omap2/board-n8x0-lcd.c 2011-02-24 12:37:51.702386250 +0100
8 +++ linux-2.6.38-rc6/arch/arm/mach-omap2/board-n8x0-lcd.c 2011-02-24 12:39:35.223028410 +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)