ARM: mxs: add a dma mask to fec devices

This is not strictly necessary but the right thing to do.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
This commit is contained in:
Lothar Waßmann 2010-12-15 22:20:13 +01:00 committed by Sascha Hauer
parent c762b293d4
commit f4b5d2b0d1

View File

@ -45,6 +45,7 @@ struct platform_device *__init mxs_add_fec(
},
};
return mxs_add_platform_device("imx28-fec", data->id,
res, ARRAY_SIZE(res), pdata, sizeof(*pdata));
return mxs_add_platform_device_dmamask("imx28-fec", data->id,
res, ARRAY_SIZE(res), pdata, sizeof(*pdata),
DMA_BIT_MASK(32));
}