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 f683b55a0e6a..4d6a48315950 100644
--- a/drivers/usb/dwc3/host.c
+++ b/drivers/usb/dwc3/host.c
@@ -20,10 +20,6 @@ void dwc3_host_wakeup_capable(struct device *dev, bool 
wakeup)
 }
 EXPORT_SYMBOL(dwc3_host_wakeup_capable);
 
-static const struct xhci_plat_priv dwc3_xhci_plat_priv = {
-       .quirks = XHCI_SKIP_PHY_INIT,
-};
-
 static int dwc3_host_get_irq(struct dwc3 *dwc)
 {
        struct platform_device  *dwc3_pdev = to_platform_device(dwc->dev);
-- 
2.23.0

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

Reply via email to