summaryrefslogtreecommitdiff
path: root/arch/m68k/kernel
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2023-02-08 17:08:25 -0800
committerGeert Uytterhoeven <geert@linux-m68k.org>2023-02-13 11:34:49 +0100
commit1e5b5df65af99013b4d31607ddb3ca5731dbe44d (patch)
treeec0af64bd94fd4135fb59a364123ea2a21747c05 /arch/m68k/kernel
parentbe6c50d315f92071e481eacd1c0260cb4f7c325f (diff)
m68k: /proc/hardware should depend on PROC_FS
When CONFIG_PROC_FS is not set, there is a build error for an unused function. Make PROC_HARDWARE depend on PROC_FS to prevent this error. In file included from ../arch/m68k/kernel/setup.c:3: ../arch/m68k/kernel/setup_mm.c:477:12: error: 'hardware_proc_show' defined but not used [-Werror=unused-function] 477 | static int hardware_proc_show(struct seq_file *m, void *v) | ^~~~~~~~~~~~~~~~~~ Fixes: 66d857b08b8c ("m68k: merge m68k and m68knommu arch directories") # v3.0 Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20230209010825.24136-1-rdunlap@infradead.org Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel')
0 files changed, 0 insertions, 0 deletions