From: Uwe Kleine-König Date: Wed, 19 Jan 2011 10:37:10 +0000 (+0100) Subject: ARM: mxc: add a dma mask to fec devices X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=78159566b7ec120a1020cfc9469ac526bdd05387;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ARM: mxc: add a dma mask to fec devices This is not strictly necessary but the right thing to do. Signed-off-by: Uwe Kleine-König --- diff --git a/arch/arm/plat-mxc/devices/platform-fec.c b/arch/arm/plat-mxc/devices/platform-fec.c index 4f529964224d..6561c9df5f0d 100644 --- a/arch/arm/plat-mxc/devices/platform-fec.c +++ b/arch/arm/plat-mxc/devices/platform-fec.c @@ -62,7 +62,7 @@ struct platform_device *__init imx_add_fec( }, }; - return imx_add_platform_device("fec", 0 /* -1? */, + return imx_add_platform_device_dmamask("fec", 0, res, ARRAY_SIZE(res), - pdata, sizeof(*pdata)); + pdata, sizeof(*pdata), DMA_BIT_MASK(32)); }