driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr
authorKeerthy <j-keerthy@ti.com>
Tue, 9 Jul 2019 05:00:33 +0000 (10:30 +0530)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jul 2019 18:32:25 +0000 (13:32 -0500)
commit45e8c055cc351399bd3cd10dacee91e82201b070
tree6a6ed843577894f097e944fd42b46a102d27c1bb
parent4db6e790bab644f105fcacc98744286ac461b588
driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

Use phys_addr_t for mdio_base address to avoid build
warnings on arm64 and dra7. Cast it to uintprt_t before
assigning to regs.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/ti/cpsw_mdio.c
drivers/net/ti/cpsw_mdio.h