summaryrefslogtreecommitdiffstats
path: root/drivers/video/pxafb.h
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-11-11 14:50:39 +0100
committerEric Miao <eric.miao@marvell.com>2008-12-02 07:43:47 +0100
commita5718a14a1d91b871e65d4e6b349e39c22cac943 (patch)
tree5abb6a68692614580eca8d658d374a2a7fd8590f /drivers/video/pxafb.h
parent[ARM] locomo: export locomo_frontlight_set() (diff)
downloadlinux-a5718a14a1d91b871e65d4e6b349e39c22cac943.tar.xz
linux-a5718a14a1d91b871e65d4e6b349e39c22cac943.zip
[ARM] pxafb: make {backlight,lcd}_power() members of struct pxafb_info
instead of holding them as static pointers. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'drivers/video/pxafb.h')
-rw-r--r--drivers/video/pxafb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/pxafb.h b/drivers/video/pxafb.h
index 31541b86f13d..d8eb93fa03a3 100644
--- a/drivers/video/pxafb.h
+++ b/drivers/video/pxafb.h
@@ -124,6 +124,9 @@ struct pxafb_info {
struct notifier_block freq_transition;
struct notifier_block freq_policy;
#endif
+
+ void (*lcd_power)(int, struct fb_var_screeninfo *);
+ void (*backlight_power)(int);
};
#define TO_INF(ptr,member) container_of(ptr,struct pxafb_info,member)