linux/drivers/net/ethernet/renesas
Sergei Shtylyov 3340d2aae3 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 <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-31 19:42:44 -04:00
..
Kconfig net: sh_eth: Add eth support for R8A7779 device 2012-08-20 02:16:54 -07:00
Makefile
sh_eth.c sh_eth: make 'link' field of 'struct sh_eth_private' *int* 2013-03-31 19:42:44 -04:00
sh_eth.h sh_eth: make 'link' field of 'struct sh_eth_private' *int* 2013-03-31 19:42:44 -04:00