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>
master
Siva Durga Prasad Paladugu 8 years ago committed by Marek Vasut
parent b2f1858455
commit 4835c737ff
  1. 2
      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;

Loading…
Cancel
Save