projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
466f775
)
net: phy: fix data type of phy_id
author
Jörg Krause
<joerg.krause@embedded.rocks>
Wed, 15 Jul 2015 12:58:49 +0000
(14:58 +0200)
committer
Joe 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
patch
|
blob
|
history
diff --git
a/drivers/net/phy/phy.c
b/drivers/net/phy/phy.c
index c8d08e8f4f1cbc793d73f6f09db5a55414cbcf32..865abab9a1c44fb2423998b1ec1ba64974a0be26 100644
(file)
--- 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;