blob: acd7cf0a1706e54036e124c83f0bedf4421d8658 [file] [log] [blame]
Christian Lamparter8bd57412020-05-14 17:50:37 +05301/* 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)
8int renesas_xhci_check_request_fw(struct pci_dev *dev,
9 const struct pci_device_id *id);
10void renesas_xhci_pci_exit(struct pci_dev *dev);
11
12#else
Vinod Koul78ef1b12020-05-19 15:00:02 +053013static int renesas_xhci_check_request_fw(struct pci_dev *dev,
14 const struct pci_device_id *id)
Christian Lamparter8bd57412020-05-14 17:50:37 +053015{
16 return 0;
17}
18
Vinod Koul78ef1b12020-05-19 15:00:02 +053019static void renesas_xhci_pci_exit(struct pci_dev *dev) { };
Christian Lamparter8bd57412020-05-14 17:50:37 +053020
21#endif
22
23struct xhci_driver_data {
24 u64 quirks;
25 const char *firmware;
26};
27
28#endif