From: Lothar Waßmann Date: Wed, 15 Dec 2010 21:20:13 +0000 (+0100) Subject: ARM: mxs: add a dma mask to fec devices X-Git-Tag: MMI-PSA29.97-13-9~20486^2~5^2~55 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4b5d2b0d1df863eab004e42b4492fce6ccc52b2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Uwe Kleine-König --- diff --git a/arch/arm/mach-mxs/devices/platform-fec.c b/arch/arm/mach-mxs/devices/platform-fec.c index c42dff72b46c..9859cf283335 100644 --- a/arch/arm/mach-mxs/devices/platform-fec.c +++ b/arch/arm/mach-mxs/devices/platform-fec.c @@ -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)); }