usb: ulpi: Fix viewport_addr type

viewport_addr is address of memory mapped ULPI viewport.
It is used only as argument to readl/writel later
causing compile warnings on 64-bit devices.

This fix changes its type to match pointer size.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Acked-by: Marek Vasut <marex@denx.de>
This commit is contained in:
Mateusz Kulikowski 2016-03-31 23:12:20 +02:00 committed by Tom Rini
parent 5493a32c8e
commit 2cbe57cf26

View File

@ -32,7 +32,7 @@
* be extended from this structure
*/
struct ulpi_viewport {
u32 viewport_addr;
uintptr_t viewport_addr;
u32 port_num;
};