net/phy: fixup for get_phy_id
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Tue, 7 Apr 2015 10:46:32 +0000 (18:46 +0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 20 Apr 2015 22:57:13 +0000 (17:57 -0500)
commit5707d5ffd42a45088f433a2514d1320a6491697b
tree2340b8de0b59f2286df20701951c289cf69da1a7
parentc6a40f6e518c4fb900ec6a46a7fc1d1d354beb3a
net/phy: fixup for get_phy_id

commit 3c6928fd7b0f84 "net: phy: fix warnings with W=1" caused
some PHYs(e.g. CS4315/CS4340) not working. This patch fixes the
warning and make those special PHYs working as well.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
drivers/net/phy/phy.c
include/phy.h