mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-02 09:30:43 +09:00
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>
This commit is contained in:
parent
466f775e02
commit
2c171a2a5f
@ -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,
|
static struct phy_device *phy_device_create(struct mii_dev *bus, int addr,
|
||||||
int phy_id,
|
u32 phy_id,
|
||||||
phy_interface_t interface)
|
phy_interface_t interface)
|
||||||
{
|
{
|
||||||
struct phy_device *dev;
|
struct phy_device *dev;
|
||||||
|
Loading…
Reference in New Issue
Block a user