From: Jörg Krause Date: Wed, 15 Jul 2015 12:58:49 +0000 (+0200) Subject: net: phy: fix data type of phy_id X-Git-Tag: KARO-TX6-2015-09-18~509 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=aa42a916c424d628db7b4b43f4f9a82a326b9471 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 --- diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 444ca9c98e..106f9b0150 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -642,7 +642,7 @@ static int phy_get_duplex(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;