5dde93038f
SVN-Revision: 28673
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
---
|
|
arch/arm/mach-omap2/board-n8x0-lcd.c | 18 ++++++++++++++++++
|
|
1 file changed, 18 insertions(+)
|
|
|
|
Index: linux-3.1-rc4/arch/arm/mach-omap2/board-n8x0-lcd.c
|
|
===================================================================
|
|
--- linux-3.1-rc4.orig/arch/arm/mach-omap2/board-n8x0-lcd.c 2011-10-29 22:14:15.792790191 +0200
|
|
+++ linux-3.1-rc4/arch/arm/mach-omap2/board-n8x0-lcd.c 2011-10-29 22:14:29.864731483 +0200
|
|
@@ -33,8 +33,28 @@ static void mipid_shutdown(struct mipid_
|
|
}
|
|
}
|
|
|
|
+static int n8x0_get_backlight_level(struct mipid_platform_data *pdata)
|
|
+{
|
|
+//FIXME return tahvo_get_backlight_level();
|
|
+return 0;
|
|
+}
|
|
+
|
|
+static int n8x0_get_max_backlight_level(struct mipid_platform_data *pdata)
|
|
+{
|
|
+//FIXME return tahvo_get_max_backlight_level();
|
|
+return 0;
|
|
+}
|
|
+
|
|
+static void n8x0_set_backlight_level(struct mipid_platform_data *pdata, int level)
|
|
+{
|
|
+//FIXME tahvo_set_backlight_level(level);
|
|
+}
|
|
+
|
|
struct mipid_platform_data n8x0_mipid_platform_data = {
|
|
.shutdown = mipid_shutdown,
|
|
+ .get_bklight_level = n8x0_get_backlight_level,
|
|
+ .set_bklight_level = n8x0_set_backlight_level,
|
|
+ .get_bklight_max = n8x0_get_max_backlight_level,
|
|
};
|
|
|
|
void __init n8x0_mipid_init(void)
|