diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-07-17 14:36:47 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-20 11:37:47 -0600 |
commit | 6f25e274da48e938bbd33395881d38f0a4be8682 (patch) | |
tree | 18f6d1521b4fcbe0105adcb85af9a6a72439c1d7 /drivers/net/mcffec.c | |
parent | 3c12c62ba5fa12c988336a9de5784c6b5fbaac54 (diff) | |
download | u-boot-6f25e274da48e938bbd33395881d38f0a4be8682.zip u-boot-6f25e274da48e938bbd33395881d38f0a4be8682.tar.gz u-boot-6f25e274da48e938bbd33395881d38f0a4be8682.tar.bz2 |
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/mcffec.c')
-rw-r--r-- | drivers/net/mcffec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index 1a8351b..d8367b5 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -589,7 +589,7 @@ static int mcffec_ofdata_to_platdata(struct udevice *dev) struct eth_pdata *pdata = dev_get_platdata(dev); const u32 *val; - pdata->iobase = (phys_addr_t)devfdt_get_addr(dev); + pdata->iobase = devfdt_get_addr(dev); /* Default to 10Mbit/s */ pdata->max_speed = 10; |