parisc: sba_iommu: Fix build warning if procfs if disabled
authorHelge Deller <deller@gmx.de>
Wed, 30 Aug 2023 05:56:04 +0000 (07:56 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 31 Aug 2023 19:42:42 +0000 (21:42 +0200)
commit6428bc7bd3f35e43c8cb7359cb89d83248d339d2
treea4bc418ed3fecc223ae680cdd2c423bbbfa26846
parent6c1b980a7e79e55e951b4b2c47eefebc75071209
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")
arch/parisc/include/asm/mckinley.h [deleted file]
drivers/parisc/sba_iommu.c