From patchwork Fri Jul 28 13:48:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13331971 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 61FF5C0015E for ; Fri, 28 Jul 2023 13:48:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DNGDL43M3tJ0UdI/475hVZ6WsCbLYYE1xFK9wcSTiDg=; b=HXHbV3qDTLIfGB cgaY+rujcHjNZKdLE+8TQJAoMezTy8J/3+RZUpevqykSat1sq3XFrDBlmxe8dlCj0WGQLGHJg3ISz 3WEhfmBKptwCaPYpC2cSMFukC1fMbspJPanfOx7waGwqa0oeRn/T7G6MVCHm2bf0sAUIdFA8iNWFv egMg2uprX8UJlj6TqYdvraJMz1+7CWdeh+noC8w0Zhvo+qrVeI4LLRm5l1prU6H4DertaNGiilV2M ZgQ+m8HfC4MbbGoaQ4QU3hA11N32slnm1UEw4LunqGnGt1bJaSO3nOPM83JApVOEJSQG9oeur23B/ i52nNvEG2UhXEaiOKrvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPNpX-003ZLp-0c; Fri, 28 Jul 2023 13:48:31 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPNpU-003ZLB-17 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 13:48:29 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4466B620DD; Fri, 28 Jul 2023 13:48:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5A17C433C8; Fri, 28 Jul 2023 13:48:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690552106; bh=BfRz7+IlBdcF/JG2+s7kyWYuaZqm69j/PYmjGHVN70o=; h=From:To:Cc:Subject:Date:From; b=lvCkqtRAi8C7XvpKMhWGHtKa0QETNY+KmCu8+jY3Bh016P9n1rKIO2x8z6FfKWySn DeiaZuEuhSVlLO9Ch16BbQaU4Pqu1ibMBv/rgPFTkOtEqJmP4hs0X+tylmku3eZIL4 +X/C01JgkUrN2L0Rkocp9fvIhGI4DMc/52Atw9Q1D7BcgF1+ud1pjluc7386uLEEgH RjYy3qwNWFWmfoLzhI5YZezFQQY1Jzb6TPSE/bx6ZBd/rkygyr4kmnSxNdCmvUgP4N +TwxLubl8qT+0aoA+MNULE7MxHjEHlB+G/G4bg0nIjVoJdNe7rAAr9zBMVm5aZhqV2 aySD4bVBoLdLg== Received: (nullmailer pid 3224159 invoked by uid 1000); Fri, 28 Jul 2023 13:48:24 -0000 From: Rob Herring To: Corey Minyard , Joel Stanley , Andrew Jeffery Cc: devicetree@vger.kernel.org, openipmi-developer@lists.sourceforge.net, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] ipmi: Explicitly include correct DT includes Date: Fri, 28 Jul 2023 07:48:18 -0600 Message-Id: <20230728134819.3224045-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_064828_447728_3E471F59 X-CRM114-Status: GOOD ( 11.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it was merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring --- v3: - Split out hw_random, ipmi and tpm --- drivers/char/ipmi/kcs_bmc_aspeed.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/ipmi/kcs_bmc_aspeed.c b/drivers/char/ipmi/kcs_bmc_aspeed.c index 2dea8cd5a09a..72640da55380 100644 --- a/drivers/char/ipmi/kcs_bmc_aspeed.c +++ b/drivers/char/ipmi/kcs_bmc_aspeed.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include