From patchwork Wed Mar 29 21:20:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13193242 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24181C761A6 for ; Wed, 29 Mar 2023 21:21:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230002AbjC2VVu (ORCPT ); Wed, 29 Mar 2023 17:21:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229871AbjC2VVs (ORCPT ); Wed, 29 Mar 2023 17:21:48 -0400 Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A0344EC3; Wed, 29 Mar 2023 14:21:46 -0700 (PDT) Received: by mail-oi1-f179.google.com with SMTP id bj20so12708121oib.3; Wed, 29 Mar 2023 14:21:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680124906; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ztuu6Fsug8mRxKnYsfiismCx0sBKyfeU96HhnyE0Bjs=; b=I6qA/D75s2omWMVeBi8J+UQ29cUBMOLzxP6dBJuK37jMGRnHzNRYGWX+zaoOh5VTHa +Rxa3EyvEus4Ymt06XyEG9+Y/NtRGaJSLYnK4PTTEZ00jyPEHloHJ1o7OdaMlTeqfUAT cQIXXYyeNLojp+pcmrAmhAJRI+c7iRfwBPHozM38Gbfr9wApqN6pfpgQmz5qkcEe3M3T R2pohJZMMsHg6uYB5i8srzu12qzxC6PKZF32akNZ9hwLKt92KRJzXLzd7OyIfXxh1D/b mlyTPcwcJ59MeH9QZ+OEo3auXds7+zXdq4nHSXQl29f9AKtgy6b7AHPXnm/WzArdg7LX W43w== X-Gm-Message-State: AO0yUKXEaaD+7GAE0FrpkpMcYPnxX5Agfluv43vqFjfsCeQWo6oTJgyt 9+Vypy5VT5aHh0em4pe57A== X-Google-Smtp-Source: AK7set8ebntw2ESdGB7l5PdDO6NsIvCSiIc8J8/t/ipIkwSdCjkA74SknOyxYwAjPu2eirZsztFa4A== X-Received: by 2002:a05:6808:7cf:b0:35e:d787:ec7f with SMTP id f15-20020a05680807cf00b0035ed787ec7fmr8881054oij.50.1680124905841; Wed, 29 Mar 2023 14:21:45 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id r184-20020a4a4ec1000000b005251e3f92ecsm14394555ooa.47.2023.03.29.14.21.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 14:21:45 -0700 (PDT) Received: (nullmailer pid 86899 invoked by uid 1000); Wed, 29 Mar 2023 21:21:39 -0000 From: Rob Herring Date: Wed, 29 Mar 2023 16:20:46 -0500 Subject: [PATCH 5/5] ACPI: Replace irqdomain.h include with struct declarations MIME-Version: 1.0 Message-Id: <20230329-acpi-header-cleanup-v1-5-8dc5cd3c610e@kernel.org> References: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> In-Reply-To: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> To: "Rafael J. Wysocki" , Len Brown , Marcelo Schmitt , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Greg Kroah-Hartman , Johannes Berg , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jiri Slaby , Thierry Reding , Jonathan Hunter , Marc Zyngier Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-serial@vger.kernel.org, linux-tegra@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.13-dev Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org linux/acpi.h includes irqdomain.h which includes of.h. Break the include chain by replacing the irqdomain include with forward declarations for struct irq_domain and irq_domain_ops which is sufficient for acpi.h. Cc: Marc Zyngier Signed-off-by: Rob Herring --- include/linux/acpi.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index efff750f326d..169c17c0b0dc 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -10,12 +10,14 @@ #include #include /* for struct resource */ -#include #include #include #include #include +struct irq_domain; +struct irq_domain_ops; + #ifndef _LINUX #define _LINUX #endif