stmmac: do not fail when probe and there is no csr clk defined
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 18 Apr 2012 19:48:22 +0000 (19:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2012 00:09:06 +0000 (20:09 -0400)
On some platforms, for example where we are doing the bring-up,
the csr clock is not passed from the framework and the Ethernet
device driver is failing when it can work w/o any issues and
using the default values. So this patch just warnings the case
of the csr clock cannot be acquired but w/o failing the probe
step. I have just tested it on ST STiH415 SoC (ARM).

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found