kernel_optimize_test/arch/sparc
Randy Dunlap 0fda33ea89 sparc: fix led.c driver when PROC_FS is not enabled
[ Upstream commit b3554aa2470b5db1222c31e08ec9c29ab33eabc7 ]

Fix Sparc build when CONFIG_PROC_FS is not enabled.

Fixes this build error:
arch/sparc/kernel/led.c:107:30: error: 'led_proc_ops' defined but not used [-Werror=unused-const-variable=]
     107 | static const struct proc_ops led_proc_ops = {
         |                              ^~~~~~~~~~~~
   cc1: all warnings being treated as errors

Fixes: 97a32539b9 ("proc: convert everything to "struct proc_ops"")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Lars Kotthoff <metalhead@metalhead.ws>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:38:10 +01:00
..
boot
configs
crypto
include local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
kernel sparc: fix led.c driver when PROC_FS is not enabled 2021-03-04 11:38:10 +01:00
lib [regression fix] really dumb fuckup in sparc64 __csum_partial_copy() changes 2020-12-08 16:37:47 -05:00
math-emu
mm sparc: fix handling of page table constructor failure 2020-12-30 11:53:55 +01:00
net
oprofile
power
prom
vdso treewide: remove DISABLE_LTO 2020-10-21 00:28:53 +09:00
Kbuild
Kconfig sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set 2021-03-04 11:38:10 +01:00
Kconfig.debug
Makefile