blob: 279c95acc43f6d88d2da80b559bf3da6437c0b49 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) 2019-2020 Linaro Limited */
#ifndef XHCI_PCI_H
#define XHCI_PCI_H
#if IS_ENABLED(CONFIG_USB_XHCI_PCI_RENESAS)
int renesas_xhci_check_request_fw(struct pci_dev *dev,
const struct pci_device_id *id);
#else
static inline int renesas_xhci_check_request_fw(struct pci_dev *dev,
const struct pci_device_id *id)
{
return 0;
}
#endif
#if IS_ENABLED(CONFIG_USB_XHCI_PCI_ASMEDIA)
int asmedia_xhci_check_request_fw(struct pci_dev *dev,
const struct pci_device_id *id);
#else
static inline int asmedia_xhci_check_request_fw(struct pci_dev *dev,
const struct pci_device_id *id)
{
return 0;
}
#endif
struct xhci_driver_data {
u64 quirks;
const char *firmware;
};
#endif
|