Browse Source

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>
Lothar Waßmann 14 years ago
parent
commit
f4b5d2b0d1
1 changed files with 3 additions and 2 deletions
  1. 3 2
      arch/arm/mach-mxs/devices/platform-fec.c

+ 3 - 2
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));
 }