summaryrefslogtreecommitdiffstats
path: root/drivers/video/stm.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-25 17:47:02 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-30 02:05:26 +0800
commit6147b6a6ca913b8919fe7b7f5ec45b6cc97dbddf (patch)
treec03d01fcfd70800de4a69c594a8f78d459748384 /drivers/video/stm.c
parent715b4e7ae39f2b8d70b53a68fcdbcdb39c1a1a7e (diff)
downloadbarebox-6147b6a6ca913b8919fe7b7f5ec45b6cc97dbddf.tar.gz
barebox-6147b6a6ca913b8919fe7b7f5ec45b6cc97dbddf.tar.xz
fb: switch to "struct resource"
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/video/stm.c')
-rw-r--r--drivers/video/stm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/stm.c b/drivers/video/stm.c
index ee2f0268bd..78acad7372 100644
--- a/drivers/video/stm.c
+++ b/drivers/video/stm.c
@@ -488,7 +488,7 @@ static int stmfb_probe(struct device_d *hw_dev)
/* add runtime hardware info */
fbi.hw_dev = hw_dev;
- fbi.base = (void *)hw_dev->map_base;
+ fbi.base = dev_request_mem_region(hw_dev, 0);
fbi.pdata = pdata;
/* add runtime video info */