diff mbox

[U-Boot,1/1] net: phy: fix data type of phy_id

Message ID 1436965129-8808-1-git-send-email-joerg.krause@embedded.rocks
State Accepted
Delegated to: Joe Hershberger
Headers show

Commit Message

Jörg Krause July 15, 2015, 12:58 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joe Hershberger Aug. 12, 2015, 7:27 p.m. UTC | #1
Hi Jörg,

On Wed, Jul 15, 2015 at 7:58 AM, Jörg Krause
<joerg.krause@embedded.rocks> wrote:
> 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>

Applied to u-boot-net, thanks!
-Joe
diff mbox

Patch

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;