فهرست منبع

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>
Uwe Kleine-König 14 سال پیش
والد
کامیت
78159566b7
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      arch/arm/plat-mxc/devices/platform-fec.c

+ 2 - 2
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));
 }