From 9d6e27160ddcd316d5b5fc9a2caf74d340e2ba93 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 19 Nov 2008 17:11:11 +0000 Subject: glamo-resume-meddling.patch Big chunk of trying to own Glamo resume and not really succeeding Signed-off-by: Andy Green --- drivers/video/console/fbcon.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'drivers/video') diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index b92947d62ad..6b666a50e3a 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c @@ -3228,13 +3228,17 @@ static void fbcon_get_requirement(struct fb_info *info, static int fbcon_event_notify(struct notifier_block *self, unsigned long action, void *data) { - struct fb_event *event = data; - struct fb_info *info = event->info; + struct fb_event *event; + struct fb_info *info; struct fb_videomode *mode; struct fb_con2fbmap *con2fb; struct fb_blit_caps *caps; int ret = 0; + printk(KERN_ERR "fbcon_event_notify action=%ld, data=%p\n", action, data); + + event = data; + info = event->info; /* * ignore all events except driver registration and deregistration * if fbcon is not active -- cgit v1.2.3