net/stmmac: fix issue of clk_get for Loongson1B.
authorKelvin Cheung <keguang.zhang@gmail.com>
Sat, 18 Aug 2012 00:16:23 +0000 (00:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Aug 2012 09:52:20 +0000 (02:52 -0700)
commitae4d8cf299dbea4ce387a01da6f723c4050b31a7
tree9c1459fa99b5c756f1a372c52cc0b0df04ea69a8
parentd92c7f8aabae913de16eb855b19cd2002c341896
net/stmmac: fix issue of clk_get for Loongson1B.

When getting clock, give a chance to the CPUs without DT support,
which use Common Clock Framework, such as Loongson1B.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c