projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
serial: stm32x7: align compatible with kernel one
[oweals/u-boot.git]
/
drivers
/
net
/
ag7xxx.c
diff --git
a/drivers/net/ag7xxx.c
b/drivers/net/ag7xxx.c
index 346f138caf85c49802ce9296d2176388660e51dc..cf60d114756458feb0a92c21694d42aab2bbb717 100644
(file)
--- a/
drivers/net/ag7xxx.c
+++ b/
drivers/net/ag7xxx.c
@@
-857,7
+857,7
@@
static int ag7xxx_get_phy_iface_offset(struct udevice *dev)
{
int offset;
{
int offset;
- offset = fdtdec_lookup_phandle(gd->fdt_blob, dev
->of_offset
, "phy");
+ offset = fdtdec_lookup_phandle(gd->fdt_blob, dev
_of_offset(dev)
, "phy");
if (offset <= 0) {
debug("%s: PHY OF node not found (ret=%i)\n", __func__, offset);
return -EINVAL;
if (offset <= 0) {
debug("%s: PHY OF node not found (ret=%i)\n", __func__, offset);
return -EINVAL;
@@
-941,7
+941,7
@@
static int ag7xxx_eth_ofdata_to_platdata(struct udevice *dev)
const char *phy_mode;
int ret;
const char *phy_mode;
int ret;
- pdata->iobase = dev_get_addr(dev);
+ pdata->iobase = dev
fdt
_get_addr(dev);
pdata->phy_interface = -1;
/* Decoding of convoluted PHY wiring on Atheros MIPS. */
pdata->phy_interface = -1;
/* Decoding of convoluted PHY wiring on Atheros MIPS. */