Skip to content
Commit c2e2a618 authored by Randy Dunlap's avatar Randy Dunlap Committed by Darren Hart (VMware)
Browse files

platform/x86: toshiba_acpi: Fix defined but not used build warnings



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: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Azael Avalos <coproscefalo@gmail.com>
Cc: platform-driver-x86@vger.kernel.org
Cc: Andy Shevchenko <andy@infradead.org>
Signed-off-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
parent 1a32ebb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment