diff options
author | Helge Deller <deller@gmx.de> | 2023-08-30 07:56:04 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-31 21:42:42 +0200 |
commit | 6428bc7bd3f35e43c8cb7359cb89d83248d339d2 (patch) | |
tree | a4bc418ed3fecc223ae680cdd2c423bbbfa26846 /arch | |
parent | 6c1b980a7e79e55e951b4b2c47eefebc75071209 (diff) | |
download | linux-stable-6428bc7bd3f35e43c8cb7359cb89d83248d339d2.tar.gz linux-stable-6428bc7bd3f35e43c8cb7359cb89d83248d339d2.tar.bz2 linux-stable-6428bc7bd3f35e43c8cb7359cb89d83248d339d2.zip |
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')
-rw-r--r-- | arch/parisc/include/asm/mckinley.h | 8 |
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*/ |