Commit 78159566 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Sascha Hauer

ARM: mxc: add a dma mask to fec devices

This is not strictly necessary but the right thing to do.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent f4b5d2b0
...@@ -62,7 +62,7 @@ struct platform_device *__init imx_add_fec( ...@@ -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), res, ARRAY_SIZE(res),
pdata, sizeof(*pdata)); pdata, sizeof(*pdata), DMA_BIT_MASK(32));
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment