From: Guenter Roeck Date: Tue, 2 Apr 2013 09:35:08 +0000 (+0000) Subject: net/cadence/at91_ether: Simplify OF dependencies X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~242 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9b124901cd7cf43f272b86008d813ec89d9508b;p=pandora-kernel.git net/cadence/at91_ether: Simplify OF dependencies With of_get_mac_address() and of_get_phy_mode() now defined as dummy functions if OF_NET is not configured, it is no longer necessary to provide OF dependent functions as front-end. Also, the two functions depend on OF_NET, not on OF, so the conditional code was not correct anyway. Drop the front-end functions and call of_get_mac_address() and of_get_phy_mode() directly instead. Signed-off-by: Guenter Roeck Signed-off-by: David S. Miller --- Reading git-diff-tree failed