diff options
author | Randy Dunlap <[email protected]> | 2020-11-16 16:48:00 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-02-18 16:31:13 -0800 |
commit | b3554aa2470b5db1222c31e08ec9c29ab33eabc7 (patch) | |
tree | ae436c78bb12beff86f3bc811fa4ce8515305501 /scripts/bpf_helpers_doc.py | |
parent | a970a9764c773ae6daa94db934dfe3d790bfc977 (diff) |
sparc: fix led.c driver when PROC_FS is not enabled
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: 97a32539b956 ("proc: convert everything to "struct proc_ops"")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Lars Kotthoff <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions