From mboxrd@z Thu Jan 1 00:00:00 1970 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 6E8D6C388F9 for ; Sat, 31 Oct 2020 11:45:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 33F70205F4 for ; Sat, 31 Oct 2020 11:45:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604144725; bh=ETpU0BXfRtZxD2EQRg6oathVavk99g4z1nxhq8Anb7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=mDwW4I0UW3X84PxvvVToeNQkKE81+pcBuBlx3MoweCySpcj/DV6RZTDr+hCwkcufV z+ZOUSUy7znRb46SN0uxvDAZcN+kkHbsrdKhYwbR6SjM2qAXbE4hYlYKugQ3nzlnhg UTAIwsMQNz6CnmnJqzg8nkZ2Tfm69O4yjcxoMfzk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728231AbgJaLpR (ORCPT ); Sat, 31 Oct 2020 07:45:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:46018 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727980AbgJaLpJ (ORCPT ); Sat, 31 Oct 2020 07:45:09 -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 EEEF520739; Sat, 31 Oct 2020 11:45:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604144707; bh=ETpU0BXfRtZxD2EQRg6oathVavk99g4z1nxhq8Anb7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i5JFFOo5egmqiG/o2MRB7wCHp6ZhQrcvTNGUb5n1WOVAH2b9ohqilquva4cDBvoFb jRD/riljUq20uNdvVnOxFJXc3vgq9ZfMZm7jjZnaKqdhiuRnV34P18zvNxF5cnL8Eu 9mAuvPOiwk/RXmgF+gK3cKwARSGnz1dFXNaJgbEA= 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.9 23/74] x86/PCI: Fix intel_mid_pci.c build error when ACPI is not enabled Date: Sat, 31 Oct 2020 12:36:05 +0100 Message-Id: <20201031113501.158596059@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201031113500.031279088@linuxfoundation.org> References: <20201031113500.031279088@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