]> git.sur5r.net Git - u-boot/commitdiff
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)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 11 Aug 2015 18:47:15 +0000 (13:47 -0500)
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 c8d08e8f4f1cbc793d73f6f09db5a55414cbcf32..865abab9a1c44fb2423998b1ec1ba64974a0be26 100644 (file)
@@ -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;