From: Giuseppe CAVALLARO Date: Wed, 6 Jan 2010 23:07:16 +0000 (+0000) Subject: stmmac: do not call fix_mac_speed if NULL X-Git-Tag: v2.6.34-rc1~233^2~634 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65818fa744e70a58d230083dda1f1cd8e5c5e2ee;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed