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 \(Arm\)" X-Patchwork-Id: 707661 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 3F051C001DE for ; Fri, 28 Jul 2023 13:48:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236268AbjG1Nsd (ORCPT ); Fri, 28 Jul 2023 09:48:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236895AbjG1Nsa (ORCPT ); Fri, 28 Jul 2023 09:48:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7C8F272C; Fri, 28 Jul 2023 06:48:27 -0700 (PDT) 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 4BCBB62130; 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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