merged.
Bruce
In message: [linux-yocto][v5.10/standard/nxp-sdk-5.10/nxp-soc &
v5.10/standard/preempt-rt/nxp-sdk-5.10/nxp-soc][PATCH] dwc3/host.c: remove
unused variable
on 24/12/2022 Li Wang wrote:
> drivers/usb/dwc3/host.c:30:21: error: variable 'dwc3_xhci_plat_priv' has
> initializer but incomplete type
> 30 | static const struct xhci_plat_priv dwc3_xhci_plat_priv = {
> | ^~~~~~~~~~~~~~
> drivers/usb/dwc3/host.c:31:10: error: 'const struct xhci_plat_priv' has no
> member named 'quirks'
> 31 | .quirks =
> XHCI_SKIP_PHY_INIT,
> | ^~~~~~
>
> Signed-off-by: Li Wang <[email protected]>
> ---
> drivers/usb/dwc3/host.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c
> index ad3b41add742..08483d684257 100644
> --- a/drivers/usb/dwc3/host.c
> +++ b/drivers/usb/dwc3/host.c
> @@ -15,10 +15,6 @@
>
> #include "core.h"
>
> -static const struct xhci_plat_priv dwc3_xhci_plat_priv = {
> - .quirks = XHCI_SKIP_PHY_INIT,
> -};
> -
> #define XHCI_HCSPARAMS1 0x4
> #define XHCI_PORTSC_BASE 0x400
>
> --
> 2.23.0
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12052):
https://lists.yoctoproject.org/g/linux-yocto/message/12052
Mute This Topic: https://lists.yoctoproject.org/mt/95857133/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-