Christian Lamparter | 8bd5741 | 2020-05-14 17:50:37 +0530 | [diff] [blame] | 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 |
Vinod Koul | 78ef1b1 | 2020-05-19 15:00:02 +0530 | [diff] [blame] | 13 | static int renesas_xhci_check_request_fw(struct pci_dev *dev, |
| 14 | const struct pci_device_id *id) |
Christian Lamparter | 8bd5741 | 2020-05-14 17:50:37 +0530 | [diff] [blame] | 15 | { |
| 16 | return 0; |
| 17 | } |
| 18 | |
Vinod Koul | 78ef1b1 | 2020-05-19 15:00:02 +0530 | [diff] [blame] | 19 | static void renesas_xhci_pci_exit(struct pci_dev *dev) { }; |
Christian Lamparter | 8bd5741 | 2020-05-14 17:50:37 +0530 | [diff] [blame] | 20 | |
| 21 | #endif |
| 22 | |
| 23 | struct xhci_driver_data { |
| 24 | u64 quirks; |
| 25 | const char *firmware; |
| 26 | }; |
| 27 | |
| 28 | #endif |