mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-12 14:22:58 +08:00
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:
committed by
Tom Rini
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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user