SELinux: skip file_name_trans_write() when policy downgraded.
[pandora-kernel.git] / arch / arm / plat-omap / include / plat / nokia-dsi-panel.h
1 #ifndef __ARCH_ARM_PLAT_OMAP_NOKIA_DSI_PANEL_H
2 #define __ARCH_ARM_PLAT_OMAP_NOKIA_DSI_PANEL_H
3
4 #include "display.h"
5
6 /**
7  * struct nokia_dsi_panel_data - Nokia DSI panel driver configuration
8  * @name: panel name
9  * @use_ext_te: use external TE
10  * @ext_te_gpio: external TE GPIO
11  * @use_esd_check: perform ESD checks
12  * @max_backlight_level: maximum backlight level
13  * @set_backlight: pointer to backlight set function
14  * @get_backlight: pointer to backlight get function
15  */
16 struct nokia_dsi_panel_data {
17         const char *name;
18
19         int reset_gpio;
20
21         bool use_ext_te;
22         int ext_te_gpio;
23
24         bool use_esd_check;
25
26         int max_backlight_level;
27         int (*set_backlight)(struct omap_dss_device *dssdev, int level);
28         int (*get_backlight)(struct omap_dss_device *dssdev);
29 };
30
31 #endif /* __ARCH_ARM_PLAT_OMAP_NOKIA_DSI_PANEL_H */