diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2010-12-15 16:20:13 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-01 08:19:57 -0500 |
commit | f4b5d2b0d1df863eab004e42b4492fce6ccc52b2 (patch) | |
tree | 61d5484faf864d84ecff67c1831a567ab9727b99 /arch/arm/mach-mxs | |
parent | c762b293d4a12fb726cec62cfe3e64f66cf3103f (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.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 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( | |||
45 | }, | 45 | }, |
46 | }; | 46 | }; |
47 | 47 | ||
48 | return mxs_add_platform_device("imx28-fec", data->id, | 48 | return mxs_add_platform_device_dmamask("imx28-fec", data->id, |
49 | res, ARRAY_SIZE(res), pdata, sizeof(*pdata)); | 49 | res, ARRAY_SIZE(res), pdata, sizeof(*pdata), |
50 | DMA_BIT_MASK(32)); | ||
50 | } | 51 | } |