summaryrefslogtreecommitdiff
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-30 08:56:04 +0300
committerHelge Deller <deller@gmx.de>2023-08-31 22:42:42 +0300
commit6428bc7bd3f35e43c8cb7359cb89d83248d339d2 (patch)
treea4bc418ed3fecc223ae680cdd2c423bbbfa26846 /arch/parisc/include
parent6c1b980a7e79e55e951b4b2c47eefebc75071209 (diff)
downloadlinux-6428bc7bd3f35e43c8cb7359cb89d83248d339d2.tar.xz
parisc: sba_iommu: Fix build warning if procfs if disabled
Clean up the code, e.g. make proc_mckinley_root static, drop the now empty mckinley header file and remove some unneeded ifdefs around procfs functions. Signed-off-by: Helge Deller <deller@gmx.de> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202308300800.Jod4sHzM-lkp@intel.com/ Fixes: 77e0ddf097d6 ("parisc: ccio-dma: Create private runway procfs root entry")
Diffstat (limited to 'arch/parisc/include')
-rw-r--r--arch/parisc/include/asm/mckinley.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/parisc/include/asm/mckinley.h b/arch/parisc/include/asm/mckinley.h
deleted file mode 100644
index 1314390b9034..000000000000
--- a/arch/parisc/include/asm/mckinley.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef ASM_PARISC_MCKINLEY_H
-#define ASM_PARISC_MCKINLEY_H
-
-/* declared in arch/parisc/kernel/setup.c */
-extern struct proc_dir_entry * proc_mckinley_root;
-
-#endif /*ASM_PARISC_MCKINLEY_H*/