--- zzzz-none-000/linux-4.9.276/include/linux/usb/hcd.h 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/include/linux/usb/hcd.h 2023-04-05 08:19:02.000000000 +0000 @@ -25,6 +25,10 @@ #include #include +#ifdef CONFIG_AVM_NET_TRACE +#include "avmusbtrace.h" +#endif + #define MAX_TOPO_LEVEL 6 /* This file contains declarations of usbcore internals that are mostly @@ -210,6 +214,10 @@ * (ohci 32, uhci 1024, ehci 256/512/1024). */ +#ifdef AVM_USB_TRACE + struct avm_net_trace_device *avm_ntd; +#endif + /* The HC driver's private data is stored at the end of * this structure. */ @@ -461,7 +469,14 @@ extern void usb_hcd_pci_remove(struct pci_dev *dev); extern void usb_hcd_pci_shutdown(struct pci_dev *dev); +#ifndef CONFIG_PCI_DISABLE_COMMON_QUIRKS extern int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *dev); +#else +static inline int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *dev) +{ + return 0; +} +#endif #ifdef CONFIG_PM extern const struct dev_pm_ops usb_hcd_pci_pm_ops;