linux/drivers/usb
Arnd Bergmann f190519b07 usb: dwc3: xilinx: include linux/gpio/consumer.h
[ Upstream commit e498a04443 ]

The newly added gpio consumer calls cause a build failure in configurations
that fail to include the right header implicitly:

drivers/usb/dwc3/dwc3-xilinx.c: In function 'dwc3_xlnx_init_zynqmp':
drivers/usb/dwc3/dwc3-xilinx.c:207:22: error: implicit declaration of function 'devm_gpiod_get_optional'; did you mean 'devm_clk_get_optional'? [-Werror=implicit-function-declaration]
  207 |         reset_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~
      |                      devm_clk_get_optional

Fixes: ca05b38252 ("usb: dwc3: xilinx: Add gpio-reset support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230103121755.956027-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-12 12:02:34 +01:00
..
atm
c67x00
cdns3 usb: cdnsp: fix lack of ZLP for ep0 2022-12-31 13:33:09 +01:00
chipidea usb: chipidea: fix deadlock in ci_otg_del_timer 2022-11-09 12:34:18 +01:00
class
common
core usb: core: hcd: Fix return value check in usb_hcd_setup_local_mem() 2022-12-31 13:32:41 +01:00
dwc2
dwc3 usb: dwc3: xilinx: include linux/gpio/consumer.h 2023-01-12 12:02:34 +01:00
early
gadget usb: gadget: f_hid: fix refcount leak on error path 2022-12-31 13:32:41 +01:00
host xhci: Prevent infinite loop in transaction errors recovery for streams 2022-12-31 13:33:10 +01:00
image
isp1760
misc
mon
mtu3
musb usb: musb: omap2430: Fix probe regression for missing resources 2022-12-31 13:32:39 +01:00
phy
renesas_usbhs
roles usb: roles: fix of node refcount leak in usb_role_switch_is_parent() 2022-12-31 13:32:41 +01:00
serial USB: serial: f81534: fix division by zero on line-speed change 2022-12-21 17:48:08 +01:00
storage usb: storage: Add check for kcalloc 2022-12-31 13:32:42 +01:00
typec usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe() 2022-12-31 13:32:42 +01:00
usbip
Kconfig
Makefile
usb-skeleton.c