summaryrefslogtreecommitdiff
path: root/drivers/net/fec_mxc.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2020-07-17 08:36:47 +0300
committerSimon Glass <sjg@chromium.org>2020-07-25 23:46:57 +0300
commitcf081a52ad830127a12715a7a8c64c2bc9b7dfeb (patch)
tree717f67bc407126c78078a27b886e2fc83deb3356 /drivers/net/fec_mxc.c
parent8613c8d89720ad90440ea59391fcdfcad037764a (diff)
downloadu-boot-cf081a52ad830127a12715a7a8c64c2bc9b7dfeb.tar.xz
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.c2
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;