Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2782507rwp; Fri, 14 Jul 2023 11:12:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlF55ffZXTOyh5eYNZffNA2HSRROWhCkmBfQ8z9E11+J/cNKpwNgSzVvCgif/mkwumxCoY/Y X-Received: by 2002:a17:902:e742:b0:1b3:d4d5:beb2 with SMTP id p2-20020a170902e74200b001b3d4d5beb2mr6379276plf.9.1689358347153; Fri, 14 Jul 2023 11:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689358347; cv=none; d=google.com; s=arc-20160816; b=eBhMpIhGBGE5qje75GKrWKDIqckL+h85tz5yOdknihekMKbPpzfwnqqKSU0uR49Upx XxlJ2DsgzKY/OaDCxfdTn9G0wlCwy67rz9cEHCt8v5/eaCC17W3KKzZxnEHMtJcJZAi0 PFk2RM/au3VcQRiUbTxaPvSsSIPSEtOzyBCnjW3eDawVC4gZwFYZrrW3Cxu0afU7i8eg /6pizC8EIKvXzBNlF0B9Z7qwOLWUcB0WpRiq0vFeyG8WDfK0pe2gd1JSoIHAYKVr8NiL YPd8vHr6RQEf+CktdiSjsglsgjAlTGFvSRKRW60lR2Ck9ws5nscJ7bPsMO53uJ4BQHhz BP1Q== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jx13-20020a170903138d00b001b9dea279c1si7302190plb.59.2023.07.14.11.12.15; Fri, 14 Jul 2023 11:12:27 -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 S236518AbjGNRwe (ORCPT + 99 others); Fri, 14 Jul 2023 13:52:34 -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 Content-Transfer-Encoding: 8bit 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 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/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 -- 2.40.1