Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2764348rwp; Fri, 14 Jul 2023 10:57:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlHRAwb9xjl594ty69udlMlKSzPKzWCLkz7aLMROeqdQtPvsP517o9mx45er+b0/ic8IaNtf X-Received: by 2002:a17:903:41d0:b0:1b8:50a9:6874 with SMTP id u16-20020a17090341d000b001b850a96874mr6572261ple.5.1689357473725; Fri, 14 Jul 2023 10:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689357473; cv=none; d=google.com; s=arc-20160816; b=ncc4D5recZF9w4bS2XNXv0RjyKL90OdTluprI835xs/K53DxDbFuHltou9evpE6B0E wjhp6BHs/1JMbWyfQ9MRzq0ivV63qBALfj+n3n8KWSDCsjAABdr4KM4ROqWXFXZseWM3 inJWcbNAglC8w00LCmnSyOrAxvQ55wI/dGzUjDGIswnUWhpD6YBA/b6anQmwWrm1PhKp OxhSCmtcoYVK2ujpd5EXms6n+l07VEPa1qJXDNmgdQStMrm7sHDqNeUXOW9oUl3TXnfv 8pKYzqwBcRnlV/Gl3UVNdWyk5XuPMfYNGXtiM47C+qSbcB/mnI2JI5stnAQm4L/TeHZm UWMw== 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=mFbBoaA1fWC8AyIt0h8Dq7hGWKkGohWfmADxlBaqeLk=; fh=W+arVRyQOET3brYEr/y9+EdFdY/ULXOcJQb2ic121qE=; b=iYjrS1xdY/d8ZkVFxI2cWXl7gucypdzFNGbAxXYm+a4knzLPrxgZRJgCFn2IaKJ/jV XV3JL+RPjQFgSEef2RRXvQSmW0D3hs5Oqre4xJxqty+RsCH5g5AXV1FiK/4c6ipoEpqb PkQNnEDjeAb485uKfnUfcCSZmf3VxxflsOvKz0VdRV4LQsgsJkcezG6dEq/g3QF/jNoN mJoPWDIThLOuhUwA588qGy7xM9TRH8b/1royXIdg+y773/SqfjoG2Q9CVmlylj1dLKOX ov9ODOLEYVz61LGv4i6z/PT9s0L5L+v+b10SYivBmyE0kbBiQjsvPLaMOM2mVkwn1s8F URNg== 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 g6-20020a1709026b4600b001b3414a1fa9si7376024plt.175.2023.07.14.10.57.39; Fri, 14 Jul 2023 10:57:53 -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 S236360AbjGNRsO (ORCPT + 99 others); Fri, 14 Jul 2023 13:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235136AbjGNRrp (ORCPT ); Fri, 14 Jul 2023 13:47:45 -0400 Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52B603A96; Fri, 14 Jul 2023 10:47:24 -0700 (PDT) Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-345f1e0abf9so9291905ab.3; Fri, 14 Jul 2023 10:47:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689356803; x=1691948803; 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=mFbBoaA1fWC8AyIt0h8Dq7hGWKkGohWfmADxlBaqeLk=; b=VrXQUHPedJD0I1T6BJ4Tb5ieNnWCi2AQoUmoK2U/yTaHwGvLTAE8cm+W9tfNcQ4efw dVLubUQbANU+V94vK90+vrFadjmJhd2J1hsw/2AaUm7xrDBN3EhLbPeUdyAvUSqllquQ JBDxCEqssTP3uGWt1GpGgaq4/zmOR/NQ67S85KdPAfyaGOHT18Bcs9L61cqGenAVoQNZ maSj3L+IpooBQhjbNvCYlzbtF1QiLek6ShD9bJT7wdQKz9b6Ha6ZRoGz0pvzzhBdVPhd 7IHOFqztJjhM/+BxX86kbS3RioVYFZNpboBwPXBs21k1aGV/XbNZAmsBfLcndPNIDeoZ ElEw== X-Gm-Message-State: ABy/qLbVnNQ+hv4oRJTXf2nIUL0KsWeerdBSVvjcNEEAtfW0CWBKJi52 OC8VLtScFLVUwcBmeUTvEA== X-Received: by 2002:a05:6e02:1025:b0:345:66f5:3404 with SMTP id o5-20020a056e02102500b0034566f53404mr5407820ilj.0.1689356803343; Fri, 14 Jul 2023 10:46:43 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id m8-20020a92cac8000000b003423af2fda6sm2840440ilq.83.2023.07.14.10.46.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:46:42 -0700 (PDT) Received: (nullmailer pid 4057877 invoked by uid 1000); Fri, 14 Jul 2023 17:46:26 -0000 From: Rob Herring To: Jeremy Kerr , Alexandre Belloni , =?UTF-8?q?Przemys=C5=82aw=20Gaj?= Cc: devicetree@vger.kernel.org, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] i3c: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:46:23 -0600 Message-Id: <20230714174623.4057784-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,RCVD_IN_MSPIKE_H2, 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/i3c/master/ast2600-i3c-master.c | 1 - drivers/i3c/master/i3c-master-cdns.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/i3c/master/ast2600-i3c-master.c b/drivers/i3c/master/ast2600-i3c-master.c index 09ed19d489e9..01a47d3dd499 100644 --- a/drivers/i3c/master/ast2600-i3c-master.c +++ b/drivers/i3c/master/ast2600-i3c-master.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include diff --git a/drivers/i3c/master/i3c-master-cdns.c b/drivers/i3c/master/i3c-master-cdns.c index 01610fa5b0cc..49551db71bc9 100644 --- a/drivers/i3c/master/i3c-master-cdns.c +++ b/drivers/i3c/master/i3c-master-cdns.c @@ -22,7 +22,6 @@ #include #include #include -#include #define DEV_ID 0x0 #define DEV_ID_I3C_MASTER 0x5034 -- 2.40.1