aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:11:11 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:11:11 +0000
commit9d6e27160ddcd316d5b5fc9a2caf74d340e2ba93 (patch)
tree886b71f218270ad3604cd343b877ed027eeda522 /drivers/video
parent8f8c5a780d45850e42bca5b64b85ea831c9e4854 (diff)
glamo-resume-meddling.patch
Big chunk of trying to own Glamo resume and not really succeeding Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/console/fbcon.c8
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