Skip to content

Commit 63fab69

Browse files
malaterrerafaeljw
authored andcommitted
ACPI: Add missing prototype_for arch_post_acpi_subsys_init()
In commit e7ff3a4 (x86/amd: Check for the C1E bug post ACPI subsystem init) a new function arch_post_acpi_subsys_init() was introduced. This weak function can potentially be overridden on a per arch basis, introduce the prototype for clarity. Silence the following gcc warning (W=1): init/main.c:484:20: warning: no previous prototype for ‘arch_post_acpi_subsys_init’ [-Wmissing-prototypes] Signed-off-by: Mathieu Malaterre <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent dd73e72 commit 63fab69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/acpi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ int acpi_match_platform_list(const struct acpi_platform_list *plat);
578578

579579
extern void acpi_early_init(void);
580580
extern void acpi_subsystem_init(void);
581+
extern void arch_post_acpi_subsys_init(void);
581582

582583
extern int acpi_nvs_register(__u64 start, __u64 size);
583584

0 commit comments

Comments
 (0)