From patchwork Fri Jul 14 17:52:02 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: 13314095 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 C2CB9EB64DC for ; Fri, 14 Jul 2023 17:52:58 +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=y5DSmGVsPL7ryzZ4ocZQAVB8jBSHc/x1skOILddfoKg=; b=09mM7sauxDjpBU 4IFJTtYodELMuU62Nglem30iBRaT98NbVa15A1Uw/yFUD8GmyBSoPhGYO3DVzLnupAMRy4SzCdsmJ Ml8Q9kjQJ7fjOHIWQLzRrfbdLpXuLOdP4W5nqRw6Q7RyTcmgSwgcd9i0xd6VfX+GYx2KxLGua3i+k JwsVO9CmcyQnRxeyiwxor2lrGsEKD/4efzmHV4MYstue08dR1i0YI6VtwwfPQKyaaJEQjsD257pSe LDs7oz1kcbo3zNdPvOZZvzZHQy0oiG84uBT8ElpeoOFHinkFKuNEDu5fbmU+so2TkTBUg8PS0ycT7 qDb9+17Wn6HcyhdtN/Yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qKMy2-006sjR-1r; Fri, 14 Jul 2023 17:52:34 +0000 Received: from mail-io1-f49.google.com ([209.85.166.49]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qKMxt-006saT-0f for linux-arm-kernel@lists.infradead.org; Fri, 14 Jul 2023 17:52:26 +0000 Received: by mail-io1-f49.google.com with SMTP id ca18e2360f4ac-76c64da0e46so87254739f.0 for ; Fri, 14 Jul 2023 10:52:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357144; x=1691949144; 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=Io3SoxIDwBBBtJ6NlQcxe1pml6TSwvuGhow9OBf7DFQ=; b=Ddg+Kma0XGT2ypM4quzVPrlJJyRqAucHs4bXBxt/6pmZWrdFrtRxpoYeR9dltWbNzL FujGXnrryuHyr2+9u5U8q1xbuAJhYevSLqg/3+a/Dtn3gZv/PouFJrb3CaFJzvi5ebFC 1aRgRA9cpsusD5sprB1LA6/u7HhsAt3Dk3cpF+qKtvqYtgDMw0U/5eRDu0I3pSXB7hKI QpVmj8fgBfE/BbawQiTeD13C5yMGAPYODXJOAa7FQuHt5+DV2KgsJ9X7cZB/M8qHbYmc MgAxIJzTdxlPnMIY9ZSosHbOjdYR1BhS1mAtei7QRbubgnxa7UnLrveNTcDW00laCHrw ybJg== X-Gm-Message-State: ABy/qLafLew2+crmTN4UwjLEjxQOFMQGAwIysxz5+InTg0b4c0WPix2W bpYfDD8/iczefimEjOGHIJOUJhLc5+MB X-Google-Smtp-Source: APBJJlGmyru1MYM6MSTu5ZE/J/lQCSiiVZ9jYzx1cA3SB0/S5eCE6joc3Rk0ZpW7LKx5fHXF/XdhPA== X-Received: by 2002:a6b:a04:0:b0:787:8d2:f15 with SMTP id z4-20020a6b0a04000000b0078708d20f15mr5261803ioi.8.1689357144472; Fri, 14 Jul 2023 10:52:24 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id x1-20020a6bd001000000b0076c569c7a48sm2683663ioa.39.2023.07.14.10.52.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:52:23 -0700 (PDT) Received: (nullmailer pid 4068747 invoked by uid 1000); Fri, 14 Jul 2023 17:52:03 -0000 From: Rob Herring To: Michal Simek Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: xilinx: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:52:02 -0600 Message-Id: <20230714175202.4068684-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_105225_277645_EBFB4DE6 X-CRM114-Status: GOOD ( 11.05 ) 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/xilinx/zynqmp_power.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/xilinx/zynqmp_power.c b/drivers/soc/xilinx/zynqmp_power.c index 641dcc958911..913417506468 100644 --- a/drivers/soc/xilinx/zynqmp_power.c +++ b/drivers/soc/xilinx/zynqmp_power.c @@ -11,6 +11,7 @@ #include #include +#include #include #include #include