Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1982164pxx; Sat, 31 Oct 2020 04:46:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnmH1Kfc5mRHURblQjLbstKup/r0SzmXCmQmKAHS+MeMQksmMe7urO6RQ1CIDvcKAyad8v X-Received: by 2002:a50:8f61:: with SMTP id 88mr7340078edy.175.1604144794678; Sat, 31 Oct 2020 04:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604144794; cv=none; d=google.com; s=arc-20160816; b=uFFSGAukRSmQH49c3KF3ikrTcldjVQ0ix500Jf81WFzDLUaQPI2q1ueDWljYcgfMlF TLmDkp/WUwRL7voRVtQfnx4kP36s7lhCbfYXsUFST6S92aUDJGtzuaUEUOCGVfVfPHu9 96G7c0a5TKDOdUfnpm3hyctUg4DcYYSOZlDX9AUOaUT7bsAhldU/oElbEhYuNcRimdwN NO4r7K7y5fbPOrkzpOCsWQFyd4B7ideNpYGZN2unhbU427ED3NlwW2gaDcdS8vv/iLum g+TUpFUFSGf5JalOnaHdIhhB3G1vMaMXi2IepxvU18HMrgG5ulspWJhnMe19AA7jJKDq tdWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=tzBJ/spShM+JRfzxR6cWbL+IXFBnBtKIZrZrvthZHng=; b=bPxV8WqzfURdQOZmEVS/HilRaBbpm8B0ysyB/zy5qQZPuDmJzdoJHIWH1pcoegSVyf eogKhce0gDg10By4D4GewCHr94vEKzS3/MO93mMaPjKTvzBWB1iLi3GuA+BseJM7KfS7 I0Uf5J3ikLVhP6YPUi/qHAZouC6fDTK+GvFKpIlCDK/Ux6OnUGN/4iHR88JqmWWZCaw/ FSKO4M2v3b8Tl8jvyMlzGRWYr0OsxM3fB8AUG7tjAohn7mEKzY4zOeTc3xTf6qw97GKF eVPSy11MdJ3OWYGKNdgo72tmZzxzitvJB0uK71hjJDb8edYgS18rKx3VtYmuNvUPEoH6 UGoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tiQpTTN2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a20si6517936eda.489.2020.10.31.04.46.12; Sat, 31 Oct 2020 04:46:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tiQpTTN2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727767AbgJaLmO (ORCPT + 99 others); Sat, 31 Oct 2020 07:42:14 -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: linux-kernel@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