diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-01-19 11:37:10 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-01 14:19:58 +0100 |
commit | 78159566b7ec120a1020cfc9469ac526bdd05387 (patch) | |
tree | ff931aabe43b68137522ab8d35dbec216d2dd0ec | |
parent | f4b5d2b0d1df863eab004e42b4492fce6ccc52b2 (diff) | |
download | kernel_samsung_smdk4412-78159566b7ec120a1020cfc9469ac526bdd05387.zip kernel_samsung_smdk4412-78159566b7ec120a1020cfc9469ac526bdd05387.tar.gz kernel_samsung_smdk4412-78159566b7ec120a1020cfc9469ac526bdd05387.tar.bz2 |
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 4f52996..6561c9d 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)); } |