summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-17 08:28:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-17 08:28:48 +0100
commitd0e7facd5482c31a5640b31c9a4555e5a4ee215c (patch)
tree7674cf4dc6581bb79b6f926f7e609447a640806e
parent04e89d094aea0284ee9c330a22adf0602c9738c5 (diff)
parent0327e12f068471dc03577407b8f8915914c2be32 (diff)
downloadbarebox-d0e7facd5482c31a5640b31c9a4555e5a4ee215c.tar.gz
Merge branch 'fb-master'
-rw-r--r--drivers/video/fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fb.c b/drivers/video/fb.c
index aad0e1f..ba34b9c 100644
--- a/drivers/video/fb.c
+++ b/drivers/video/fb.c
@@ -79,6 +79,8 @@ static int fb_setup_mode(struct device_d *dev, struct param_d *param,
ret = info->fbops->fb_activate_var(info);
+ dev->map_base = (unsigned long)info->screen_base;
+
if (ret == 0)
dev_param_set_generic(dev, param, val);