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: 702904 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 C4DB1C0015E for ; Fri, 14 Jul 2023 17:55:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236706AbjGNRzC (ORCPT ); Fri, 14 Jul 2023 13:55:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236740AbjGNRyj (ORCPT ); Fri, 14 Jul 2023 13:54:39 -0400 Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 496133C19; Fri, 14 Jul 2023 10:54:05 -0700 (PDT) Received: by mail-io1-f47.google.com with SMTP id ca18e2360f4ac-7837329a00aso86289339f.2; Fri, 14 Jul 2023 10:54:05 -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=XLW0leMDRxMIY4hmK0ASnA0qjHdm1xXf7PoayaGiWA6hSDPMCtMfshosjoH9Cz1wnr ViKVrZzVUMhI3qQGLbFBf0XMfqwk1788rTB2eTbKTQT5JKJJRnWGOTyGKXERn9iFTXxn lxsbXUFfHkvTlwNP2+OPOHSBIAuWf1PHcZq7l3iDpXk6AnXj8qFmzW/zmVDcR151QYSH cd7QOZNm+IRBn65sWq3V87qmapDadi32kZ9LPb0Wk4qeZ3BN1xX1bSkEtZrTBhf3RrY9 +wMHjgYrNLMINW+1V/chziOxyhAbh8SqSozuWSPdp6tVmpk63gVocFt2cbMrdVqKb7Az Zhaw== X-Gm-Message-State: ABy/qLazDw0Ffgm7jhEARm0zg6QiME4fYAgtAGCpjf/Ml403LNx6zbYx 23ceJipqKh1dLmZG1e2KOw== 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 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 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