From: Sergei Shtylyov Date: Sun, 31 Mar 2013 10:11:04 +0000 (+0000) Subject: sh_eth: make 'link' field of 'struct sh_eth_private' *int* X-Git-Tag: v3.9-rc6~38^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3340d2aae3433ad9147f6bf0adc452b324e31591;p=pandora-kernel.git sh_eth: make 'link' field of 'struct sh_eth_private' *int* The 'link' field of 'struct sh_eth_private' has type 'enum phy_state' while the 'link' field of 'struct phy_device' is merely *int* (having values 0 and 1) and the former field gets assigned from the latter. Make the field match, getting rid of incorrectly used PHY_DOWN value in assignments/comparisons. Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller --- Reading git-diff-tree failed