mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-14 08:06:08 +07:00
29 lines
562 B
C
29 lines
562 B
C
|
/* 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);
|
||
|
void renesas_xhci_pci_exit(struct pci_dev *dev);
|
||
|
|
||
|
#else
|
||
|
int renesas_xhci_check_request_fw(struct pci_dev *dev,
|
||
|
const struct pci_device_id *id)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
void renesas_xhci_pci_exit(struct pci_dev *dev) { };
|
||
|
|
||
|
#endif
|
||
|
|
||
|
struct xhci_driver_data {
|
||
|
u64 quirks;
|
||
|
const char *firmware;
|
||
|
};
|
||
|
|
||
|
#endif
|