Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36b77775 authored by Giuseppe Cavallaro's avatar Giuseppe Cavallaro Committed by David S. Miller
Browse files

stmmac: fix build when CONFIG_OF is enable

parent 65a85a8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ static int __devinit stmmac_probe_config_dt(struct platform_device *pdev,
	 * once needed on other platforms.
	 */
	if (of_device_is_compatible(np, "st,spear600-gmac")) {
		plat->pbl = 8;
		plat->dma_cfg->pbl = 8;
		plat->has_gmac = 1;
		plat->pmt = 1;
	}