diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-07-17 14:36:47 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-25 14:46:57 -0600 |
commit | cf081a52ad830127a12715a7a8c64c2bc9b7dfeb (patch) | |
tree | 717f67bc407126c78078a27b886e2fc83deb3356 /drivers/net/fec_mxc.c | |
parent | 8613c8d89720ad90440ea59391fcdfcad037764a (diff) | |
download | u-boot-cf081a52ad830127a12715a7a8c64c2bc9b7dfeb.tar.gz |
treewide: remove (phys_addr_t) casts from devfdt_get_addr()
This cast is unneeded.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/net/fec_mxc.c')
-rw-r--r-- | drivers/net/fec_mxc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index b3d4acb106..a3f6e3adaf 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -1534,7 +1534,7 @@ static int fecmxc_ofdata_to_platdata(struct udevice *dev) struct fec_priv *priv = dev_get_priv(dev); const char *phy_mode; - pdata->iobase = (phys_addr_t)devfdt_get_addr(dev); + pdata->iobase = devfdt_get_addr(dev); priv->eth = (struct ethernet_regs *)pdata->iobase; pdata->phy_interface = -1; |