From patchwork Tue Oct 10 20:57:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 150961 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp131789vqb; Tue, 10 Oct 2023 13:57:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHMvz/52tzz/gA3pPGS+UMhyDuy/+CzCBtmzDsgIEi+Bk/BG6uaSGv0+BtAz5G8CDDzooES X-Received: by 2002:a05:6a00:2e92:b0:692:b3d4:e6c3 with SMTP id fd18-20020a056a002e9200b00692b3d4e6c3mr21025855pfb.0.1696971467855; Tue, 10 Oct 2023 13:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696971467; cv=none; d=google.com; s=arc-20160816; b=VO+a0BLVpnJl80eGZLomfD2SPijmLjU9t11f0fpou2mq+7q7rUrnd7kGB99IF1NGv6 j0czkpj08s8NXYhVmxNgO4NcP3EFQ+mQuAfo3+wwPE4G+BzQY3ohMgw7pfy0F9Soe1Km zeFbnTxJOmFwFp3U1zB1EK2UiIT8bVOMmL8klxb0HUst12uV0LuvJjax/4jaxv975oXD tPDpikKBPORLxM8oEenHg3fFrR2bYEUNyTbuTIMSWj0yWYsivf7nhpaXLeQ574wwN2hE L5xxlAUEqF196DbyX/9qN/phHKbvCj/7MOuU3x2vtoaJs7ctG799ka5UTPktMbyWyZqo Vu0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=FQRTdTETEBIPIO0kgt4P3TPrMAWe/Hj5HvKwT/UR0HY=; fh=J4GcadllBteW8Riyb0auJNAk5wFwDaG9sH/ln5gLKM4=; b=gjwFOPor1DxuJS4cQX5830+emkOX2G7RsI1H9DU9ENZ42jX1eLjJPG8AAkoUFhpb6C krBqYO7kRCHIkVDrgyu7JhlhBU/b+1euJdrbZ77VxOGN8+rkCDIsxYFKwNgFCl0zVLPG pHlUKvMVJuQZ/ky/YIVR5RLWsFoAoHCWIOO/kbikB818C9FmfVixbfo5jEFADeO/UAM7 ZyyMwFffdLiQrlJlHU1VsoPdWqRxkj+AVx5sv/QH9/ImiVllL7gHsTZ7yvZmd3pkdbxx u6yl1PD98Ga92UX9MqvANxnzUurniaykRDHb00+LsDYDd8lMN+jM9I5RVRMFSQSoSMex L8/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pIcC06h1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id fj14-20020a056a003a0e00b00690fec2f3b6si10387337pfb.193.2023.10.10.13.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 13:57:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pIcC06h1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id CBA5F81E3B92; Tue, 10 Oct 2023 13:57:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234588AbjJJU5X (ORCPT + 19 others); Tue, 10 Oct 2023 16:57:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231998AbjJJU5V (ORCPT ); Tue, 10 Oct 2023 16:57:21 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E831FD7; Tue, 10 Oct 2023 13:57:19 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2B19C433C8; Tue, 10 Oct 2023 20:57:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696971439; bh=cCteUb8D2I1xDoWK9+STDEO+WMzXSJubNGNWzLPq7Ow=; h=From:To:Cc:Subject:Date:From; b=pIcC06h1SGM7wsPVSwHIUfPES7HwoNJauoXWa8piTdcR74OcqlDGqxvroongF68qz mhsIV192z93osXXVNFMYnv8I5EGnslJK7Hyhihr0MfE9vKhQnVggO9iRrtPHS2B7aJ mBBJ46s1wtlvEHLo6Y6NiJZ0Q4CJrybV0MLt32UXLmic1H9PDsB4giVp2TRtYDpoBV IMqqFfWJBV6xV10ev2uSJ32zy6GC97m1oMGe2tdpZcw6+WRHG7VnE8uf3GM5akEWA0 RmmhKu8GzKyoOcr3lgXdocoxIvE9Wo/PiH2o4uLO4+C8vu/JcBqI2KaOpr7mBbt3RR DCzHtBInSwmgg== Received: (nullmailer pid 1585423 invoked by uid 1000); Tue, 10 Oct 2023 20:57:17 -0000 From: Rob Herring To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: qcom: Replace of_device.h with explicit includes Date: Tue, 10 Oct 2023 15:57:10 -0500 Message-ID: <20231010205710.1585232-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 10 Oct 2023 13:57:45 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779403554217556930 X-GMAIL-MSGID: 1779403554217556930 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 and pull in various other headers. In preparation to fix this, adjust the includes for what is actually needed. of_device.h isn't needed, but mod_devicetable.h and platform_device.h were implicitly included by it. Signed-off-by: Rob Herring --- Note these were added in the merge window and missed the last round. --- drivers/clk/qcom/camcc-sm8550.c | 3 ++- drivers/clk/qcom/gcc-ipq5018.c | 3 ++- drivers/clk/qcom/gcc-sm4450.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/clk/qcom/camcc-sm8550.c b/drivers/clk/qcom/camcc-sm8550.c index 2133e768b891..dd51ba4ea757 100644 --- a/drivers/clk/qcom/camcc-sm8550.c +++ b/drivers/clk/qcom/camcc-sm8550.c @@ -4,8 +4,9 @@ */ #include +#include #include -#include +#include #include #include diff --git a/drivers/clk/qcom/gcc-ipq5018.c b/drivers/clk/qcom/gcc-ipq5018.c index 19dc2b71cacf..70f6ade3ac2a 100644 --- a/drivers/clk/qcom/gcc-ipq5018.c +++ b/drivers/clk/qcom/gcc-ipq5018.c @@ -3,8 +3,9 @@ * Copyright (c) 2023, The Linux Foundation. All rights reserved. */ #include +#include #include -#include +#include #include #include diff --git a/drivers/clk/qcom/gcc-sm4450.c b/drivers/clk/qcom/gcc-sm4450.c index 41c6357d09bc..31abe2775fc8 100644 --- a/drivers/clk/qcom/gcc-sm4450.c +++ b/drivers/clk/qcom/gcc-sm4450.c @@ -4,8 +4,9 @@ */ #include +#include #include -#include +#include #include #include