u-boot/include/usb
Philipp Tomsich 92693b5a4f usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t
The regs_otg field in uintptr_t of the platform data structure for
dwc2-otg has thus far been an unsigned int, but will eventually be
casted into a void*.

This raises the following error with GCC 6.3 and buildman:
  ../drivers/usb/gadget/dwc2_udc_otg.c: In function 'dwc2_udc_probe':
  ../drivers/usb/gadget/dwc2_udc_otg.c:821:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    reg = (struct dwc2_usbotg_reg *)pdata->regs_otg;
          ^

This changes regs_otg to a uintptr_t to ensure that it is large enough
to hold any valid pointer (and fix the associated warning).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2017-06-07 21:30:48 -06:00
..
ci_udc.h usb: mv_udc: Rename to ci_udc 2014-02-06 04:48:15 +01:00
designware_udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
dwc2_udc.h usb: dwc2-otg: make regs_otg (in platdata) a uintptr_t 2017-06-07 21:30:48 -06:00
ehci-ci.h armv7: ls1021a: Drop macro CONFIG_LS102XA 2017-04-17 09:03:30 -07:00
fotg210.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fusbh200.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lin_gadget_compat.h Move ENOTSUPP defines to include/linux/errno.h 2016-09-23 22:25:43 -04:00
mpc8xx_udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
pxa27x_udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
udc.h omap: clean-up dead configs 2014-08-09 11:17:04 -04:00
ulpi.h usb: ulpi: Fix compile warning in read/write on 64-bit machines. 2016-04-01 17:18:09 -04:00