commit | 2c4c2a71bd6f75c3982ac09407889b110673ac83 | [log] [tgz] |
---|---|---|
author | Randy Dunlap <rdunlap@infradead.org> | Sat Jul 07 08:25:01 2018 -0700 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jul 09 11:32:44 2018 +0200 |
tree | 44979ec4e5ecc836c60cd00728e0436374400a8e | |
parent | 7c058c7c74b3dbeb7d157c273959f87faf710350 [diff] |
ACPI / button: fix defined but not used warning Fix a build warning in the ACPI button driver when CONFIG_PROC_FS is not enabled by marking the unused function as __maybe_unused. ../drivers/acpi/button.c:252:12: warning: 'acpi_button_state_seq_show' defined but not used [-Wunused-function] Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>