diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-08-28 20:18:43 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-23 21:01:33 (GMT) |
commit | faa312da9cd0b044bdc84483162c6ee10b9c83c0 (patch) | |
tree | 19171bda6c11fa539d48c6a1568ade215c95ce3e /drivers/video/fbmem.c | |
parent | 6ae19b04ab41a4db0f0c48ec0b78950f6b028823 (diff) | |
download | linux-faa312da9cd0b044bdc84483162c6ee10b9c83c0.tar.xz |
lcd: allow lcd device to handle mode change events
Some LCD panels are capable of different resolutions, and is allowed
to change at run-time, so to make "struct lcd_device" to be able to
handle mode change events here.
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r-- | drivers/video/fbmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 98843c2..0737570 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c @@ -979,6 +979,7 @@ fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var) info->flags &= ~FBINFO_MISC_USEREVENT; event.info = info; + event.data = &mode; fb_notifier_call_chain(evnt, &event); } } |