diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-01-19 05:37:10 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-01 08:19:58 -0500 |
commit | 78159566b7ec120a1020cfc9469ac526bdd05387 (patch) | |
tree | ff931aabe43b68137522ab8d35dbec216d2dd0ec | |
parent | f4b5d2b0d1df863eab004e42b4492fce6ccc52b2 (diff) |
ARM: mxc: add a dma mask to fec devices
This is not strictly necessary but the right thing to do.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-fec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-fec.c b/arch/arm/plat-mxc/devices/platform-fec.c index 4f529964224d..6561c9df5f0d 100644 --- a/arch/arm/plat-mxc/devices/platform-fec.c +++ b/arch/arm/plat-mxc/devices/platform-fec.c | |||
@@ -62,7 +62,7 @@ struct platform_device *__init imx_add_fec( | |||
62 | }, | 62 | }, |
63 | }; | 63 | }; |
64 | 64 | ||
65 | return imx_add_platform_device("fec", 0 /* -1? */, | 65 | return imx_add_platform_device_dmamask("fec", 0, |
66 | res, ARRAY_SIZE(res), | 66 | res, ARRAY_SIZE(res), |
67 | pdata, sizeof(*pdata)); | 67 | pdata, sizeof(*pdata), DMA_BIT_MASK(32)); |
68 | } | 68 | } |