ARM: mxc: add a dma mask to fec devices
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 19 Jan 2011 10:37:10 +0000 (11:37 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 1 Mar 2011 13:19:58 +0000 (14:19 +0100)
This is not strictly necessary but the right thing to do.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/plat-mxc/devices/platform-fec.c

index 4f52996..6561c9d 100644 (file)
@@ -62,7 +62,7 @@ struct platform_device *__init imx_add_fec(
                },
        };
 
-       return imx_add_platform_device("fec", 0 /* -1? */,
+       return imx_add_platform_device_dmamask("fec", 0,
                        res, ARRAY_SIZE(res),
-                       pdata, sizeof(*pdata));
+                       pdata, sizeof(*pdata), DMA_BIT_MASK(32));
 }