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>
This commit is contained in:
parent
5493a32c8e
commit
2cbe57cf26
@ -32,7 +32,7 @@
|
||||
* be extended from this structure
|
||||
*/
|
||||
struct ulpi_viewport {
|
||||
u32 viewport_addr;
|
||||
uintptr_t viewport_addr;
|
||||
u32 port_num;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user