]> asedeno.scripts.mit.edu Git - linux.git/commit
ACPI: Add missing prototype_for arch_post_acpi_subsys_init()
authorMathieu Malaterre <malat@debian.org>
Sat, 5 May 2018 20:36:03 +0000 (22:36 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 13 May 2018 09:17:13 +0000 (11:17 +0200)
commit63fab6977a1f2f70ef0bc97e5de33dd5c51cb5b0
treedb4fff9e9762eaef84c0e0b3e817faea4787e3fa
parentdd73e722591764d52522fd4af139e626dc076aea
ACPI: Add missing prototype_for arch_post_acpi_subsys_init()

In commit e7ff3a47630d (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 <malat@debian.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/acpi.h