]> Git Repo - linux.git/blob - drivers/gpu/drm/xe/xe_pci_sriov.h
Linux 6.14-rc3
[linux.git] / drivers / gpu / drm / xe / xe_pci_sriov.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023-2024 Intel Corporation
4  */
5
6 #ifndef _XE_PCI_SRIOV_H_
7 #define _XE_PCI_SRIOV_H_
8
9 struct pci_dev;
10
11 #ifdef CONFIG_PCI_IOV
12 int xe_pci_sriov_configure(struct pci_dev *pdev, int num_vfs);
13 #else
14 static inline int xe_pci_sriov_configure(struct pci_dev *pdev, int num_vfs)
15 {
16         return 0;
17 }
18 #endif
19
20 #endif
This page took 0.053183 seconds and 4 git commands to generate.