diff options
author | Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | 2016-03-31 23:12:20 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-01 17:18:09 -0400 |
commit | 2cbe57cf26769cff6f8e79c0c9afe6773edbf16b (patch) | |
tree | a484dd9840476005595db74a098945811e5d705e /include/usb | |
parent | 5493a32c8ee9b54d2eb39c374ddadb7a34143c81 (diff) | |
download | u-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>
Diffstat (limited to 'include/usb')
-rw-r--r-- | include/usb/ulpi.h | 2 |
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; }; |