Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/mach-imx/iim.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/iim.c b/arch/arm/mach-imx/iim.c index dccaaa9..8e37cd7 100644 --- a/arch/arm/mach-imx/iim.c +++ b/arch/arm/mach-imx/iim.c @@ -277,6 +277,8 @@ static int imx_iim_probe(struct device_d *dev) void __iomem *base; base = dev_request_mem_region(dev, 0); + if (!base) + return -EBUSY; for (i = 0; i < 8; i++) { imx_iim_add_bank(dev, base, i); -- 2.0.0.rc0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox