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 4f529964224d2b427b36378708f6d26bd8471046..6561c9df5f0de604628925a0331e3297b90ea5a8 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));
 }