Skip to content
Snippets Groups Projects
Commit 2cbe57cf authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Tom Rini
Browse files

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: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
parent 5493a32c
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
* be extended from this structure * be extended from this structure
*/ */
struct ulpi_viewport { struct ulpi_viewport {
u32 viewport_addr; uintptr_t viewport_addr;
u32 port_num; u32 port_num;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment