diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-01-03 15:17:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-06 18:32:04 +0300 |
commit | e498a04443240c15c3c857165f7b652b87f4fd96 (patch) | |
tree | 3605fc409341bb80d44d72e6e9419f0bece08775 /drivers/gpio/gpio-xlp.c | |
parent | 1a5a23b9bdf6bde0e5185ca834ff6e806cc2aaaf (diff) | |
download | linux-e498a04443240c15c3c857165f7b652b87f4fd96.tar.xz |
usb: dwc3: xilinx: include linux/gpio/consumer.h
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: ca05b38252d7 ("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>
Diffstat (limited to 'drivers/gpio/gpio-xlp.c')
0 files changed, 0 insertions, 0 deletions