diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2019-12-09 10:37:30 +0530 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2020-01-20 10:10:29 +0530 |
commit | d35f2cfa5bf4b1fa6cb05614e53b4efc21095ec9 (patch) | |
tree | 2cbc29e5fcb7d6e137bf95431f696f1ed7c221ad /Licenses/bsd-2-clause.txt | |
parent | cab4e275dd148a5bf6fe53933314e6732309ad2a (diff) |
phy: omap-usb2-phy: Fix warnings when built for ARM64
Below warning is seen when this driver is built for devices with 64 bit
physical address space.
drivers/phy/omap-usb2-phy.c: In function ‘omap_usb2_phy_probe’:
drivers/phy/omap-usb2-phy.c:187:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
priv->phy_base = (void *)base;
^
Fix this by using dev_read_addr_ptr() instead of dev_read_addr().
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'Licenses/bsd-2-clause.txt')
0 files changed, 0 insertions, 0 deletions