diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2015-07-15 12:58:49 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2015-08-11 18:47:15 (GMT) |
commit | 2c171a2a5fc0865501a2e5043e9728036dac6dc3 (patch) | |
tree | 6109897dc1da53ae5ab034ec1d6511e8609bc648 /drivers/net/phy/phy.c | |
parent | 466f775e02bcde5ea7454cd73ecf1a0f79275a30 (diff) | |
download | u-boot-fsl-qoriq-2c171a2a5fc0865501a2e5043e9728036dac6dc3.tar.xz |
net: phy: fix data type of phy_id
phy_id is declared as u32 in create_phy_by_mask and in struct phy_device.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index c8d08e8..865abab 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -554,7 +554,7 @@ static struct phy_driver *get_phy_driver(struct phy_device *phydev, } static struct phy_device *phy_device_create(struct mii_dev *bus, int addr, - int phy_id, + u32 phy_id, phy_interface_t interface) { struct phy_device *dev; |