summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/devices
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/devices
parentARM: mxc: free dma_mask in error path (diff)
downloadlinux-f4b5d2b0d1df863eab004e42b4492fce6ccc52b2.tar.xz
linux-f4b5d2b0d1df863eab004e42b4492fce6ccc52b2.zip
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/devices')
-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));
}