Merge tag 'trace-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux/fpc-iii.git] / drivers / usb / host / xhci-pci.h
blobacd7cf0a1706e54036e124c83f0bedf4421d8658
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2019-2020 Linaro Limited */
4 #ifndef XHCI_PCI_H
5 #define XHCI_PCI_H
7 #if IS_ENABLED(CONFIG_USB_XHCI_PCI_RENESAS)
8 int renesas_xhci_check_request_fw(struct pci_dev *dev,
9 const struct pci_device_id *id);
10 void renesas_xhci_pci_exit(struct pci_dev *dev);
12 #else
13 static int renesas_xhci_check_request_fw(struct pci_dev *dev,
14 const struct pci_device_id *id)
16 return 0;
19 static void renesas_xhci_pci_exit(struct pci_dev *dev) { };
21 #endif
23 struct xhci_driver_data {
24 u64 quirks;
25 const char *firmware;
28 #endif