diff options
| author | Arnd Bergmann <[email protected]> | 2023-05-16 20:14:07 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-06-05 17:06:20 +0000 |
| commit | 8f0e8597a7fa1020e96415fdf2a022cc961cfa90 (patch) | |
| tree | e51bfd6bcdd3fb6ce1e6477369c592171ca5452d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | Linux 6.4-rc5 (diff) | |
| download | kernel-8f0e8597a7fa1020e96415fdf2a022cc961cfa90.tar.gz kernel-8f0e8597a7fa1020e96415fdf2a022cc961cfa90.zip | |
ACPI: NFIT: Add declaration in a local header
The nfit_intel_shutdown_status() function has a __weak defintion
in nfit.c and an override in acpi_nfit_test.c for testing
purposes. This works without an extern declaration, but causes
a W=1 build warning:
drivers/acpi/nfit/core.c:1717:13: error: no previous prototype for 'nfit_intel_shutdown_status' [-Werror=missing-prototypes]
Add a declaration in a header that gets included from both
sides to shut up the warning and ensure that the prototypes
actually match.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
