summaryrefslogtreecommitdiffstats
path: root/drivers/video/pxafb.h
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-11-11 21:50:39 +0800
committerEric Miao <eric.miao@marvell.com>2008-12-02 14:43:47 +0800
commita5718a14a1d91b871e65d4e6b349e39c22cac943 (patch)
tree5abb6a68692614580eca8d658d374a2a7fd8590f /drivers/video/pxafb.h
parent9179825cf5e96bd0784456ef43811cab4db17cd9 (diff)
downloadop-kernel-dev-a5718a14a1d91b871e65d4e6b349e39c22cac943.zip
op-kernel-dev-a5718a14a1d91b871e65d4e6b349e39c22cac943.tar.gz
[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 31541b8..d8eb93f 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)
OpenPOWER on IntegriCloud