Commit f4b5d2b0 authored by Lothar Waßmann's avatar Lothar Waßmann Committed by Sascha Hauer

ARM: mxs: add a dma mask to fec devices

This is not strictly necessary but the right thing to do.
Signed-off-by: default avatarLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent c762b293
...@@ -45,6 +45,7 @@ struct platform_device *__init mxs_add_fec( ...@@ -45,6 +45,7 @@ struct platform_device *__init mxs_add_fec(
}, },
}; };
return mxs_add_platform_device("imx28-fec", data->id, return mxs_add_platform_device_dmamask("imx28-fec", data->id,
res, ARRAY_SIZE(res), pdata, sizeof(*pdata)); res, ARRAY_SIZE(res), 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