projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5493a32
)
usb: ulpi: Fix viewport_addr type
author
Mateusz Kulikowski
<mateusz.kulikowski@gmail.com>
Thu, 31 Mar 2016 21:12:20 +0000
(23:12 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 1 Apr 2016 21:18:09 +0000
(17:18 -0400)
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>
include/usb/ulpi.h
patch
|
blob
|
history
diff --git
a/include/usb/ulpi.h
b/include/usb/ulpi.h
index 4fa765baa88c2ae96b241c300462a18206470447..dfea3958060bd79641afbd2fb115c337235a89c7 100644
(file)
--- a/
include/usb/ulpi.h
+++ b/
include/usb/ulpi.h
@@
-32,7
+32,7
@@
* be extended from this structure
*/
struct ulpi_viewport {
- u
32
viewport_addr;
+ u
intptr_t
viewport_addr;
u32 port_num;
};