diff options
author | Giuseppe Cavallaro <peppe.cavallaro@st.com> | 2012-04-06 03:34:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-06 03:34:45 -0400 |
commit | 36b7777590be33567be50db7f82282c3237428ad (patch) | |
tree | 74e754902052a3b220422fd3d322e4f0503429e5 | |
parent | 65a85a8d4dcabe95587ab61bece38b8d58174043 (diff) | |
download | talos-obmc-linux-36b7777590be33567be50db7f82282c3237428ad.tar.gz talos-obmc-linux-36b7777590be33567be50db7f82282c3237428ad.zip |
stmmac: fix build when CONFIG_OF is enable
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 116529a366b2..12bd221561e5 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; } |