We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87befb0 commit 6980bc0Copy full SHA for 6980bc0
drivers/pci/pcie/ptm.c
@@ -254,6 +254,7 @@ bool pcie_ptm_enabled(struct pci_dev *dev)
254
}
255
EXPORT_SYMBOL(pcie_ptm_enabled);
256
257
+#if IS_ENABLED(CONFIG_DEBUG_FS)
258
static ssize_t context_update_write(struct file *file, const char __user *ubuf,
259
size_t count, loff_t *ppos)
260
{
@@ -552,3 +553,4 @@ void pcie_ptm_destroy_debugfs(struct pci_ptm_debugfs *ptm_debugfs)
552
553
debugfs_remove_recursive(ptm_debugfs->debugfs);
554
555
EXPORT_SYMBOL_GPL(pcie_ptm_destroy_debugfs);
556
+#endif
0 commit comments