Linux Audio

Check our new training course

Loading...
v6.8
 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)
 8int renesas_xhci_check_request_fw(struct pci_dev *dev,
 9				  const struct pci_device_id *id);
10
11#else
12static 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
20struct xhci_driver_data {
21	u64 quirks;
22	const char *firmware;
23};
24
25#endif
v6.2
 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)
 8int renesas_xhci_check_request_fw(struct pci_dev *dev,
 9				  const struct pci_device_id *id);
10
11#else
12static 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
20struct xhci_driver_data {
21	u64 quirks;
22	const char *firmware;
23};
24
25#endif