diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2010-12-15 22:20:13 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-01 14:19:57 +0100 |
commit | f4b5d2b0d1df863eab004e42b4492fce6ccc52b2 (patch) | |
tree | 61d5484faf864d84ecff67c1831a567ab9727b99 | |
parent | c762b293d4a12fb726cec62cfe3e64f66cf3103f (diff) | |
download | op-kernel-dev-f4b5d2b0d1df863eab004e42b4492fce6ccc52b2.zip op-kernel-dev-f4b5d2b0d1df863eab004e42b4492fce6ccc52b2.tar.gz |
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>
-rw-r--r-- | arch/arm/mach-mxs/devices/platform-fec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-mxs/devices/platform-fec.c b/arch/arm/mach-mxs/devices/platform-fec.c index c42dff7..9859cf28 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)); } |