summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mxs
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2010-12-15 22:20:13 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-01 14:19:57 +0100
commitf4b5d2b0d1df863eab004e42b4492fce6ccc52b2 (patch)
tree61d5484faf864d84ecff67c1831a567ab9727b99 /arch/arm/mach-mxs
parentc762b293d4a12fb726cec62cfe3e64f66cf3103f (diff)
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>
Diffstat (limited to 'arch/arm/mach-mxs')
-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));
}