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 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c
index 632a653a33bd..93f0f550be9b 100644
--- a/drivers/usb/dwc3/host.c
+++ b/drivers/usb/dwc3/host.c
@@ -27,9 +27,6 @@ void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
        if (dwc3_wakeup_fn)
                dwc3_wakeup_fn(dev, wakeup);
 }
-static const struct xhci_plat_priv dwc3_xhci_plat_priv = {
-       .quirks = XHCI_SKIP_PHY_INIT,
-};
 
 static int dwc3_host_get_irq(struct dwc3 *dwc)
 {
-- 
2.23.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12044): 
https://lists.yoctoproject.org/g/linux-yocto/message/12044
Mute This Topic: https://lists.yoctoproject.org/mt/95857134/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to