net: phy: fix data type of phy_id
authorJörg Krause <joerg.krause@embedded.rocks>
Wed, 15 Jul 2015 12:58:49 +0000 (14:58 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:42 +0000 (08:17 +0200)
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>
drivers/net/phy/phy.c

index 444ca9c..106f9b0 100644 (file)
@@ -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;