From 2cbe57cf26769cff6f8e79c0c9afe6773edbf16b Mon Sep 17 00:00:00 2001 From: Mateusz Kulikowski Date: Thu, 31 Mar 2016 23:12:20 +0200 Subject: [PATCH] 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 --- include/usb/ulpi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.39.5