summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2023-02-10 03:44:06 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-02-22 00:57:40 +0300
commit586dc36226dd748b197eea8642c087cae611129b (patch)
treecb8bc5431ce49efb4d562f9c769598bc93d1d44d /arch/arm/mach-pxa
parentc6f3b684c2c4e8d4700fe8c4a173c0a70df6cc14 (diff)
downloadlinux-586dc36226dd748b197eea8642c087cae611129b.tar.xz
Input: hp_sdc_rtc - mark an unused function as __maybe_unused
When CONFIG_PROC_FS is not set, one procfs-related function is not used, causing a build error or warning. Mark this function as __maybe_unused to quieten the build. ../drivers/input/misc/hp_sdc_rtc.c:268:12: warning: 'hp_sdc_rtc_proc_show' defined but not used [-Wunused-function] 268 | static int hp_sdc_rtc_proc_show(struct seq_file *m, void *v) | ^~~~~~~~~~~~~~~~~~~~ Fixes: c18bd9a1ff47 ("hp_sdc_rtc: Don't use create_proc_read_entry()") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20230209010125.23690-1-rdunlap@infradead.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
0 files changed, 0 insertions, 0 deletions