ARM: mxs: add a dma mask to fec devices
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 15 Dec 2010 21:20:13 +0000 (22:20 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 1 Mar 2011 13:19:57 +0000 (14:19 +0100)
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>
arch/arm/mach-mxs/devices/platform-fec.c

index c42dff72b46cde4dfe8b4ed7345f260c5f95eac9..9859cf28333585bf5cb8ab18a48c5bac37b42c04 100644 (file)
@@ -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));
 }