As the method to access the IO region changed in barebox mainline, amend accordingly pxafb. Signed-off-by: Robert Jarzmik <robert.jarzmik@xxxxxxx> --- drivers/video/pxa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/pxa.c b/drivers/video/pxa.c index bc039a9..ddd7087 100644 --- a/drivers/video/pxa.c +++ b/drivers/video/pxa.c @@ -503,7 +503,7 @@ static int pxafb_probe(struct device_d *dev) info = &fbi->info; fbi->mode = pdata->mode; - fbi->regs = (void __iomem *)dev->map_base; + fbi->regs = dev_request_mem_region(dev, 0); fbi->dev = dev; fbi->lcd_power = pdata->lcd_power; -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox