GNU Linux-libre 6.8.7-gnu
[releases.git] / drivers / usb / host / xhci-pci.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2019-2020 Linaro Limited */
3
4 #ifndef XHCI_PCI_H
5 #define XHCI_PCI_H
6
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
11 #else
12 static int renesas_xhci_check_request_fw(struct pci_dev *dev,
13                                          const struct pci_device_id *id)
14 {
15         return 0;
16 }
17
18 #endif
19
20 struct xhci_driver_data {
21         u64 quirks;
22         const char *firmware;
23 };
24
25 #endif