summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>2016-03-31 23:12:20 +0200
committerTom Rini <trini@konsulko.com>2016-04-01 17:18:09 -0400
commit2cbe57cf26769cff6f8e79c0c9afe6773edbf16b (patch)
treea484dd9840476005595db74a098945811e5d705e
parent5493a32c8ee9b54d2eb39c374ddadb7a34143c81 (diff)
downloadu-boot-imx-2cbe57cf26769cff6f8e79c0c9afe6773edbf16b.zip
u-boot-imx-2cbe57cf26769cff6f8e79c0c9afe6773edbf16b.tar.gz
u-boot-imx-2cbe57cf26769cff6f8e79c0c9afe6773edbf16b.tar.bz2
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>
-rw-r--r--include/usb/ulpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h
index 4fa765b..dfea395 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;
};