]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitb94e4ed917223bf058c473e1c180598e30567f81
tree6a6ed843577894f097e944fd42b46a102d27c1bb
parent1ab8a195d3955dba197753aa4edb3de970454f8a
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