Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A44FC4742C for ; Sat, 31 Oct 2020 11:42:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC93B20791 for ; Sat, 31 Oct 2020 11:42:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604144535; bh=ETpU0BXfRtZxD2EQRg6oathVavk99g4z1nxhq8Anb7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=t8bJc91B3T7bph6SeTRZCouYPVqbkyjvpxJ01IhB3TjMZC7oyMsWzMIEypRhZ1KRX wy/ZvWZvjrY7CG73m3j/HSdWO4gzpNGrh+SVOJ34JEMiRXOCcbpQET2sLRIQHMqbga zP3lc/QibJEArLSaSIshEZUMD1urPTYsTtby6WuQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727810AbgJaLmN (ORCPT ); Sat, 31 Oct 2020 07:42:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:41648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727823AbgJaLmK (ORCPT ); Sat, 31 Oct 2020 07:42:10 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C95DF205F4; Sat, 31 Oct 2020 11:42:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604144530; bh=ETpU0BXfRtZxD2EQRg6oathVavk99g4z1nxhq8Anb7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tiQpTTN2Vgi1ssiLUUl3fEqAN7bVx4Rg+Jto3tWZD7WfEVHHQsPOx6HSYb54UknsT jDoH3xD/z/goOOhcluI5kBvXlcM95NinMg0wFn4UUMaoMY/6nC/uLMBwmODSq152bY zUG72CF8NrVnHDslvphUVkb1eONp9lpuuYXXAuSA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Bjorn Helgaas , Andy Shevchenko , Jesse Barnes , Thomas Gleixner , Jacob Pan , Len Brown , Arjan van de Ven Subject: [PATCH 5.8 23/70] x86/PCI: Fix intel_mid_pci.c build error when ACPI is not enabled Date: Sat, 31 Oct 2020 12:35:55 +0100 Message-Id: <20201031113500.614049175@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201031113459.481803250@linuxfoundation.org> References: <20201031113459.481803250@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Randy Dunlap commit 035fff1f7aab43e420e0098f0854470a5286fb83 upstream. Fix build error when CONFIG_ACPI is not set/enabled by adding the header file which contains a stub for the function in the build error. ../arch/x86/pci/intel_mid_pci.c: In function ‘intel_mid_pci_init’: ../arch/x86/pci/intel_mid_pci.c:303:2: error: implicit declaration of function ‘acpi_noirq_set’; did you mean ‘acpi_irq_get’? [-Werror=implicit-function-declaration] acpi_noirq_set(); Fixes: a912a7584ec3 ("x86/platform/intel-mid: Move PCI initialization to arch_init()") Link: https://lore.kernel.org/r/ea903917-e51b-4cc9-2680-bc1e36efa026@infradead.org Signed-off-by: Randy Dunlap Signed-off-by: Bjorn Helgaas Reviewed-by: Andy Shevchenko Reviewed-by: Jesse Barnes Acked-by: Thomas Gleixner Cc: stable@vger.kernel.org # v4.16+ Cc: Jacob Pan Cc: Len Brown Cc: Jesse Barnes Cc: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman --- arch/x86/pci/intel_mid_pci.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/pci/intel_mid_pci.c +++ b/arch/x86/pci/intel_mid_pci.c @@ -33,6 +33,7 @@ #include #include #include +#include #define PCIE_CAP_OFFSET 0x100