xref: /openbmc/linux/drivers/usb/host/xhci-pci.h (revision 8ffdff6a)
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 void renesas_xhci_pci_exit(struct pci_dev *dev);
11 
12 #else
13 static int renesas_xhci_check_request_fw(struct pci_dev *dev,
14 					 const struct pci_device_id *id)
15 {
16 	return 0;
17 }
18 
19 static void renesas_xhci_pci_exit(struct pci_dev *dev) { };
20 
21 #endif
22 
23 struct xhci_driver_data {
24 	u64 quirks;
25 	const char *firmware;
26 };
27 
28 #endif
29