diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-11-11 21:50:39 +0800 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2008-12-02 14:43:47 +0800 |
commit | a5718a14a1d91b871e65d4e6b349e39c22cac943 (patch) | |
tree | 5abb6a68692614580eca8d658d374a2a7fd8590f /drivers/video/pxafb.h | |
parent | 9179825cf5e96bd0784456ef43811cab4db17cd9 (diff) | |
download | linux-a5718a14a1d91b871e65d4e6b349e39c22cac943.tar.bz2 |
[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.h | 3 |
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) |