Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2785350rwp; Fri, 14 Jul 2023 11:15:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlHLA1s5+ERi/ymfpaaiho+O1FRut/9uhOD9E8qB4xIXctjrmx5RXegeoYNJU8gx5ZWvMe5p X-Received: by 2002:a05:6a20:4305:b0:132:9d33:67a1 with SMTP id h5-20020a056a20430500b001329d3367a1mr5228654pzk.41.1689358504801; Fri, 14 Jul 2023 11:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689358504; cv=none; d=google.com; s=arc-20160816; b=0PdC/ZOxeOmI5/sEt8ecN50t8n7p72Z/mLzAaw7urdncofpMw/ziwVsPYjwndX6nZC u22zL4y/vohnIJhwUJzGJmJxTkrgMr37Cr7l+kI4c8wDXhBM+PosV8cmSKZoRQMsTEgL XSjU00Id0OFhIDZ0+Fg/QGs0GR3/qYbfBKgTCNc6sbxxN7xIEbv1yp/2e9CPFaMO9JpP nFYpShtVLMZfzO8XqxSX0aPx6DK02iwlKDVRGhi8Ia91aA1K8IVBbVIeOH8M0kr/PCpg XgJ8WRkyYPOQ+06DFJO0YE+/4A/kGSoQqkKD07MO9jbfAJ5TwG6/cfrfZ1K2ecgMUV9C TxlQ== 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=qRlDs3/HYDJcI/NBAEppRFw1YZC9wRoCz9bMRVEtyc4=; fh=N+j3AboGhO1z29w8qyTZLiQnq6XGvj53NudPB5XSam4=; b=F0QEN9QCjK+fSOY+vFjwLxHpeXRTKnDlQHsasYxVKTiWf7+rJ1H68TYMaV1kjMkmOJ JJYgJqxxW37fMTlSqT+e1CjtlGQHw6ammKdr+Pk6b5ylWwon4IdvmCSEB9ep/YfKQ8Jb 5aHpzE9mHY5Y7DFEk1kryY28FPbk9B7LNBUNjUiPKJ3Jp/2DMfwAnbjcoSZbzSI1VOyv NoqH4JhnAnwz5X9N4lI4/l4YGJKwCyLLK9BU/qB7NWfdBxNBsP7trk8np51R/xGedDzC ffbosanNw43qYu4poUvQ1W+Zvu3Gb0QvkoXdNP1zBu9aG2Ap2gNePuruRRNQu9UhnE2n nt4g== 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 v27-20020a63151b000000b00553c4551a08si7123194pgl.887.2023.07.14.11.14.53; Fri, 14 Jul 2023 11:15:04 -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 S236406AbjGNSG3 (ORCPT + 99 others); Fri, 14 Jul 2023 14:06:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236236AbjGNSG1 (ORCPT ); Fri, 14 Jul 2023 14:06:27 -0400 Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A4731FEE; Fri, 14 Jul 2023 11:05:51 -0700 (PDT) Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-6b9b427b4fcso1305856a34.3; Fri, 14 Jul 2023 11:05:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357884; x=1691949884; 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=qRlDs3/HYDJcI/NBAEppRFw1YZC9wRoCz9bMRVEtyc4=; b=KtMpWpSH+s6EraMPkBRt6kA52HtS/3r0nKyYEQ0m84UNLwmYE5+chWQZX00Q/fTiqk TS+7E7SI3hES6LMhCBxMkcPmNwH3Ijo44yPKMCxptV4I36thxDxApLS0CPkfTReWA2OM qgEuvZVcGnl/YWA247pIQy74Gnj9WEbHTcAQ142U+B3ldVgg8y0mlN7YERRA0WMYMaA9 hv//svaFnrKR4h9tHHyMWprOg5opU1N1ZO7s63vUzbqIkKCmPOHPsBV0L0rdrkA6Di34 mdApQJxL7UlrM0/YF9cjuktIvFSQCI+OxyVJyE9b0cwr+3g1XWR3Bi5qdyLLPOQqz3xz LK4w== X-Gm-Message-State: ABy/qLapwHLP8zNS2t2mwDI6WsHH+bvhatPk2KmLWxQdQSaBLNOXuOqk yYWFbDenmeg++KQ8xkcuygnWJBnYe8MH X-Received: by 2002:a92:d490:0:b0:347:7399:b170 with SMTP id p16-20020a92d490000000b003477399b170mr4262926ilg.32.1689356900357; Fri, 14 Jul 2023 10:48:20 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id o9-20020a92c049000000b00345cce526cdsm2917031ilf.54.2023.07.14.10.48.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:48:19 -0700 (PDT) Received: (nullmailer pid 4060842 invoked by uid 1000); Fri, 14 Jul 2023 17:48:00 -0000 From: Rob Herring To: Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: devicetree@vger.kernel.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] can: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:47:57 -0600 Message-Id: <20230714174757.4060748-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_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,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/net/can/grcan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/can/grcan.c b/drivers/net/can/grcan.c index 3174efdae271..6d3ba71a6a73 100644 --- a/drivers/net/can/grcan.c +++ b/drivers/net/can/grcan.c @@ -30,8 +30,9 @@ #include #include #include +#include #include -#include +#include #include #include -- 2.40.1