From: Giuseppe Cavallaro Date: Fri, 6 Apr 2012 07:34:45 +0000 (-0400) Subject: stmmac: fix build when CONFIG_OF is enable X-Git-Tag: v3.5-rc1~109^2~568 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36b7777590be33567be50db7f82282c3237428ad;p=platform%2Fkernel%2Flinux-exynos.git stmmac: fix build when CONFIG_OF is enable Reported-by: Stephen Rothwell Signed-off-by: Giuseppe Cavallaro Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 116529a..12bd221 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -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; }