diff options
| author | Mateusz Kulikowski <[email protected]> | 2016-03-31 23:12:20 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-04-01 17:18:09 -0400 |
| commit | 2cbe57cf26769cff6f8e79c0c9afe6773edbf16b (patch) | |
| tree | a484dd9840476005595db74a098945811e5d705e /include/usb | |
| parent | 5493a32c8ee9b54d2eb39c374ddadb7a34143c81 (diff) | |
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 <[email protected]>
Acked-by: Marek Vasut <[email protected]>
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 4fa765baa88..dfea3958060 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; }; |
