mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 15:24:02 -04:00
In upcoming patches, we will build on the PF separate debugfs tree for all SR-IOV related files and this new code will need dedicated file. To minimize large diffs later, move existing function now as-is, so any future modifications will be done directly in target file. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20250928140029.198847-2-michal.wajdeczko@intel.com
19 lines
397 B
C
19 lines
397 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2025 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_SRIOV_PF_DEBUGFS_H_
|
|
#define _XE_SRIOV_PF_DEBUGFS_H_
|
|
|
|
struct dentry;
|
|
struct xe_device;
|
|
|
|
#ifdef CONFIG_PCI_IOV
|
|
void xe_sriov_pf_debugfs_register(struct xe_device *xe, struct dentry *root);
|
|
#else
|
|
static inline void xe_sriov_pf_debugfs_register(struct xe_device *xe, struct dentry *root) { }
|
|
#endif
|
|
|
|
#endif
|