Re: [PATCH] platform/x86/toshiba_acpi.c: fix defined but not used build warnings

2018-07-09 Thread Darren Hart
On Fri, Jul 06, 2018 at 08:53:09PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix a build warning in toshiba_acpi.c when CONFIG_PROC_FS is not enabled > by marking the unused function as __maybe_unused. > > ../drivers/platform/x86/toshiba_acpi.c:1685:12: warning: 'version_proc_show' >

[PATCH] platform/x86/toshiba_acpi.c: fix defined but not used build warnings

2018-07-06 Thread Randy Dunlap
From: Randy Dunlap Fix a build warning in toshiba_acpi.c when CONFIG_PROC_FS is not enabled by marking the unused function as __maybe_unused. ../drivers/platform/x86/toshiba_acpi.c:1685:12: warning: 'version_proc_show' defined but not used [-Wunused-function] Signed-off-by: Randy Dunlap Cc: A