Pārlūkot izejas kodu

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>
Siva Durga Prasad Paladugu 9 gadi atpakaļ
vecāks
revīzija
4835c737ff
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/dwc3-uboot.h

+ 1 - 1
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;