From: Mateusz Kulikowski Date: Thu, 31 Mar 2016 21:12:20 +0000 (+0200) Subject: usb: ulpi: Fix viewport_addr type X-Git-Tag: v2016.05-rc1~56 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2cbe57cf26769cff6f8e79c0c9afe6773edbf16b;p=oweals%2Fu-boot.git 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 Acked-by: Marek Vasut --- diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h index 4fa765baa8..dfea395806 100644 --- a/include/usb/ulpi.h +++ b/include/usb/ulpi.h @@ -32,7 +32,7 @@ * be extended from this structure */ struct ulpi_viewport { - u32 viewport_addr; + uintptr_t viewport_addr; u32 port_num; };