From patchwork Fri Jul 14 17:51:51 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: 13314094 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 4C8ECC0015E for ; Fri, 14 Jul 2023 17:52:57 +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=0qr/E9fkxu+lPT9GISGLns2zrl1lifpBIsun16aUd44=; b=RCl4/W7eCeKzd8 J0RzdeoLL1zGE+viOhdl8NrMgCZMsVkuLRa2I8L5rVkMxi9kMAA5ariExmoYYpnMLo64gh6fK6/it U8+LyqMSdpqnKc4mMmLSSiplzAEgW/wKr0luQm3XXD0iMHspZVpxW6meiLyBGo8KvgwSNhftAeUF+ D43ceoXMkYphbaQ6z766cylplCFKjlbNka5Y15TsLy8O0yndslKnbV9LVhPJPIwnqL9jzANeTu8cB ydJw3hIDMdeZ4BFaSbUlTQi4nGE8LKZdULgi58ITg2MuXL+cD5lWLka+c9GVnwrnkAlGrZGT4SMRQ lGy/yupAxLBcF9RtSAKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qKMy0-006shP-1z; Fri, 14 Jul 2023 17:52:32 +0000 Received: from mail-il1-f176.google.com ([209.85.166.176]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qKMxp-006sTh-1O for linux-arm-kernel@lists.infradead.org; Fri, 14 Jul 2023 17:52:24 +0000 Received: by mail-il1-f176.google.com with SMTP id e9e14a558f8ab-345db6c12b4so9714685ab.0 for ; Fri, 14 Jul 2023 10:52:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357140; x=1691949140; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QClPpmwO/HygdGxUVkymGnsqhcX8BPsEQP+ZwgNTHR4=; b=Z9VSeH7aNpYCbQPMjlmREJFJZEAaIh8gi5mCc/UfmlTLGtkOjS5dl830fj7U0zmPKf HFDpAfcqQxofSuXO6d6qofw//+Si6gEF19+h0/BfbCMqAGed2ttLrgGjLnZAcj2PSalo b53gAtM4OdVMd2cTkxXtSiZWWik5kQWVjK3+v1polXOzOLtAHFm+bA13z1eJkVdaGz+7 cbeSMFvLnTRz6OdRZFQzR210KiEca6QdCg60qkiPu3/Qhz6Q8n34po3fl9kcMBQ5pbeF GifqPjH68oudGIBIsr3V3hn37eaOlBWmacJi5VDteuiz1kGZZhjMDlOX7R2fsDVAPI6e c1oQ== X-Gm-Message-State: ABy/qLZst9aMgs6f2lUrxnT+zqrqXx3iXtFti+WErx8GKpKxmHFYTrHL IfspfpDN/DiaMxhcF4Z+Pw== X-Google-Smtp-Source: APBJJlEvmL5NlRfRa0C6Y6D6PT9e8Y80cl3usL+VRWP5Up+KiFH8kjMIsYgswwlSCtRa44TIyZTbIQ== X-Received: by 2002:a05:6e02:80c:b0:340:79ff:c1b6 with SMTP id u12-20020a056e02080c00b0034079ffc1b6mr5166464ilm.4.1689357140597; Fri, 14 Jul 2023 10:52:20 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id m22-20020a02c896000000b0042b56b57a50sm2614585jao.171.2023.07.14.10.52.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:52:19 -0700 (PDT) Received: (nullmailer pid 4068370 invoked by uid 1000); Fri, 14 Jul 2023 17:51:54 -0000 From: Rob Herring To: Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] soc: sunxi: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:51:51 -0600 Message-Id: <20230714175152.4068286-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-20230714_105221_490949_10D15BE7 X-CRM114-Status: GOOD ( 13.14 ) 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 as 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 --- drivers/soc/sunxi/sun20i-ppu.c | 2 +- drivers/soc/sunxi/sunxi_sram.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/sunxi/sun20i-ppu.c b/drivers/soc/sunxi/sun20i-ppu.c index 98cb41d36560..8700f9dd5f75 100644 --- a/drivers/soc/sunxi/sun20i-ppu.c +++ b/drivers/soc/sunxi/sun20i-ppu.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c index 4c4864cd2342..4458b2e0562b 100644 --- a/drivers/soc/sunxi/sunxi_sram.c +++ b/drivers/soc/sunxi/sunxi_sram.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include