diff options
| author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2010-01-07 02:07:16 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2010-01-08 04:06:08 +0300 |
| commit | 65818fa744e70a58d230083dda1f1cd8e5c5e2ee (patch) | |
| tree | 931659e1a0b2abda76c0829f6ab826b524cebbd0 /scripts | |
| parent | ca5f12c1a82cf72ce73617dfc8ef56faf6fec30a (diff) | |
| download | linux-65818fa744e70a58d230083dda1f1cd8e5c5e2ee.tar.xz | |
stmmac: do not call fix_mac_speed if NULL
On some platforms, fix_mac_speed is used for
configuring some sysconf registers according
to the working speed.
This patch fixes the fix_mac_speed invocation
that cannot be done if it is a NULL pointer.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
