From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751906AbeEEUgP (ORCPT ); Sat, 5 May 2018 16:36:15 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46542 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751875AbeEEUgN (ORCPT ); Sat, 5 May 2018 16:36:13 -0400 X-Google-Smtp-Source: AB8JxZrwa9qEM03K7EeWklLeY1WgueZtGqrX2JgrSufUgy2v5oLrg+GdOCLBSoey3cct6oLNAjAY/A== From: Mathieu Malaterre To: rjw@rjwysocki.net Cc: Mathieu Malaterre , Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] =?UTF-8?q?acpi:=20add=20missing=20prototype=20for=20?= =?UTF-8?q?=E2=80=98arch=5Fpost=5Facpi=5Fsubsys=5Finit=E2=80=99?= Date: Sat, 5 May 2018 22:36:03 +0200 Message-Id: <20180505203603.4071-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- include/linux/acpi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 15bfb15c2fa5..cb4d7b6b085c 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -578,6 +578,7 @@ int acpi_match_platform_list(const struct acpi_platform_list *plat); extern void acpi_early_init(void); extern void acpi_subsystem_init(void); +extern void arch_post_acpi_subsys_init(void); extern int acpi_nvs_register(__u64 start, __u64 size); -- 2.11.0