summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2016-05-12 08:57:13 +0200
committerMarek Vasut <marex@denx.de>2016-06-04 00:43:51 +0200
commit4835c737ff8ca65aa2bf206dcddd6407f4bc40cf (patch)
tree3bfe2aaa3314df66bba046b1450d21d82f2c7ed8 /include
parentb2f1858455e99a91aeafe59ac73c6c047106d5e8 (diff)
downloadtalos-obmc-uboot-4835c737ff8ca65aa2bf206dcddd6407f4bc40cf.tar.gz
talos-obmc-uboot-4835c737ff8ca65aa2bf206dcddd6407f4bc40cf.zip
usb: dwc3: Correct datatype of base to unsigned long
Correct type of varibale base to unsigned long as keeping it as int causes usb failures if MSB of the base address is set. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r--include/dwc3-uboot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dwc3-uboot.h b/include/dwc3-uboot.h
index 09ff8a74d6..7af2ad11e4 100644
--- a/include/dwc3-uboot.h
+++ b/include/dwc3-uboot.h
@@ -13,7 +13,7 @@
#include <linux/usb/otg.h>
struct dwc3_device {
- int base;
+ unsigned long base;
enum usb_dr_mode dr_mode;
u32 maximum_speed;
unsigned tx_fifo_resize:1;
OpenPOWER on IntegriCloud