diff options
Diffstat (limited to 'drivers/video/console')
-rw-r--r-- | drivers/video/console/fbcon.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 |