summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbmem.c
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-08-29 04:18:43 +0800
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-23 22:01:33 +0100
commitfaa312da9cd0b044bdc84483162c6ee10b9c83c0 (patch)
tree19171bda6c11fa539d48c6a1568ade215c95ce3e /drivers/video/fbmem.c
parent6ae19b04ab41a4db0f0c48ec0b78950f6b028823 (diff)
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index 98843c2ecf7..0737570030f 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);
}
}