summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2010-12-16 00:20:13 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-01 16:19:57 +0300
commitf4b5d2b0d1df863eab004e42b4492fce6ccc52b2 (patch)
tree61d5484faf864d84ecff67c1831a567ab9727b99
parentc762b293d4a12fb726cec62cfe3e64f66cf3103f (diff)
downloadlinux-f4b5d2b0d1df863eab004e42b4492fce6ccc52b2.tar.xz
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.c5
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 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));
}