[PATCH 3/5] ARM: mxs: add a dma mask to fec devices

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Feb 18 16:30:30 EST 2011


From: Lothar Waßmann <LW at KARO-electronics.de>

This is not strictly necessary but the right thing to do.

Signed-off-by: Lothar Waßmann <LW at KARO-electronics.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
 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..9859cf2 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));
 }
-- 
1.7.2.3




More information about the linux-arm-kernel mailing list