summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-01-19 11:37:10 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-01 14:19:58 +0100
commit78159566b7ec120a1020cfc9469ac526bdd05387 (patch)
treeff931aabe43b68137522ab8d35dbec216d2dd0ec /arch
parentf4b5d2b0d1df863eab004e42b4492fce6ccc52b2 (diff)
downloadblackbird-op-linux-78159566b7ec120a1020cfc9469ac526bdd05387.tar.gz
blackbird-op-linux-78159566b7ec120a1020cfc9469ac526bdd05387.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-mxc/devices/platform-fec.c4
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(
},
};
- 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));
}
OpenPOWER on IntegriCloud