From patchwork Fri Jul 14 17:49:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 120637 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2667779vqm; Fri, 14 Jul 2023 11:03:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlF66LxgK5t1pjQCIic0mETZSMDqZ5pRFsjayazhLRw9OOTl4CScCmHxHaMr8DA0NUiAY/rP X-Received: by 2002:a17:902:e5c2:b0:1b8:4f92:565e with SMTP id u2-20020a170902e5c200b001b84f92565emr5910686plf.21.1689357828433; Fri, 14 Jul 2023 11:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689357828; cv=none; d=google.com; s=arc-20160816; b=BGeuDczBXNH4+tU4R+EMyTPXhn2o5jhw+ttTdT6Bz4wb5EuQ5LUUIy8K4Zok7LuatR onbesk6b0QGnM9wnT3WxfFilOUWiplHeiRJmDxcC8Ef3FuXEcAePm5E21wrPkhdn+Lp9 rDBG0QGFcA1OjazdIp9oxNxzRQORnmn7mW0CiLnSjeZs/OTq2DZS0R82s9w5gd87GiTm lF7gh4ffrAktXyW+YXYjnGgXzpPYYlCqnTseYY1zf6NszXzsxwHBTioqWwVID10/yWMm Qs+6bMR2FMzg1Xda1qNQMJmqgUGecI9d/lDFUHEEikThDJ/Xoy30foGCNY6ZR+QCj/xx Qh0A== 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; bh=iEIKeE5pM9zn9D8Srf35AY3/pDLGKpItW+k06EDlZ4c=; fh=fAJRwaQ934g1rdhZdxKvBdVdEZpqZDOVzlfvD1HL96s=; b=DB5KjhWfFoXuvwVPrF35ED3CvKznZjqDwAEqGugcDvlhCazCKCkfc99RynCmY6L/P0 J8vB06p12gq9UBkFUwL2hqYeIPsapc9UTAAn8Si1Ec9B35JtIlYKEur2ylCTMHliedl5 fF1mvf/e6sZdDhIGjRcKtm1PCBvob9pxij0GVC0nQU6cSz172SaYjL08T1/iDXY0+hs/ syJjAsPyHyzWAdr54xxSNxsVXQPoRN0Uz/6VEthOM4d2B8d/NyUaSaXWdfmmWhR4ToAk 1NMO5KCnaBPFBwprcLs3Wdaus2OtJ40fbCstGL6MQlz3ZzMq4anrcID5NuI9eGTLnb1j 2ZOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020a17090264cf00b001b6aa82743esi7229551pli.271.2023.07.14.11.03.35; Fri, 14 Jul 2023 11:03:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236397AbjGNRwf (ORCPT + 99 others); Fri, 14 Jul 2023 13:52:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236498AbjGNRwb (ORCPT ); Fri, 14 Jul 2023 13:52:31 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 622F035B3; Fri, 14 Jul 2023 10:51:59 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-78625caa702so86594139f.1; Fri, 14 Jul 2023 10:51:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689356998; x=1691948998; 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=iEIKeE5pM9zn9D8Srf35AY3/pDLGKpItW+k06EDlZ4c=; b=T+glcA/GY2in6tncWfqRwgewx+njuySKLH4W/3brlllKqRKpl4oN8siRhvtlbHky9T xoQJCcaYRmqJ52iDvSz7rqMEL05L8AasBVietGVMwEbPi6qOa961SzhZ/CVIGWV7jKtv dF3XYBMtFGB9PLS5g2vqw6saaqtHMZT7rPuZP/60nHW4XTHpc0ui6SixthLwjbjdUilg eUkXwqFO7HvPIX1RmxW3Eno0KipOaBBxAYqb7EB7ub/r37M8q7+ug5l5827qYI1uPaGk CN/cKpkpveLwKvKogIJt4EKFIvF3MCPVncqtbtTVI5WARCkxt12ZyD7bjzLpMi8ZIFoj I41A== X-Gm-Message-State: ABy/qLYVawoLV4jRHHGINCr3dQRUs6FzT1MKtR+Oqf+gh4pWDe1/Cwoc 9vcDqwigf4WlG6tcRQSGTg== X-Received: by 2002:a6b:5b08:0:b0:787:1990:d2ec with SMTP id v8-20020a6b5b08000000b007871990d2ecmr5563567ioh.12.1689356998520; Fri, 14 Jul 2023 10:49:58 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id x25-20020a6bda19000000b00786dffc04e2sm2772310iob.25.2023.07.14.10.49.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:49:57 -0700 (PDT) Received: (nullmailer pid 4063275 invoked by uid 1000); Fri, 14 Jul 2023 17:49:27 -0000 From: Rob Herring To: Richard Cochran , Yangbo Lu Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ptp: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:49:22 -0600 Message-Id: <20230714174922.4063153-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771420074184014008 X-GMAIL-MSGID: 1771420074184014008 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 Acked-by: Richard Cochran --- drivers/ptp/ptp_qoriq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ptp/ptp_qoriq.c b/drivers/ptp/ptp_qoriq.c index 350154e4c2b5..a52859d024f0 100644 --- a/drivers/ptp/ptp_qoriq.c +++ b/drivers/ptp/ptp_qoriq.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include