From patchwork Thu Dec 7 16:31:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 175279 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4904055vqy; Thu, 7 Dec 2023 08:31:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IG96YOlj7hhQqXLeuwsx0ink2gLdpjmFljiioKH6LrujMgjpjF0Y6brTz6v7zz2j4Bo2RDt X-Received: by 2002:a05:6a00:299a:b0:6ce:59b2:abc9 with SMTP id cj26-20020a056a00299a00b006ce59b2abc9mr2988085pfb.40.1701966715020; Thu, 07 Dec 2023 08:31:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701966715; cv=none; d=google.com; s=arc-20160816; b=nsPoxBlxY2oyqXPr2wqaWt9r/pHVqMP14Y15Je7wn11iv9QV0U11WaXq63O10EOtPS q/XRZI70v3DyfNwAP/AV8D1RULL2NL9FpBSSRzY7iOS8Xs8ykQ5MLmKLEr6LHxp8DCap 8X9dYmwgnS3mr5jRtBb9pypgkFlX/KuZ40krhp6MTaaC1eJGf7uoSj8uGum9OdvkNu0q waqNoW/MrScxJVF9KAsn/IqNKmC5/r4C8FecYOQcgFT239h0UOpAukJ15CHTxJ5NpX53 /wC+KTF9KqEhu3cI08kOW4WDqO3FTTZSLiBmsW3xU+ShO6o+RNCgKhhuIP0AUfpt3Kwa oh5g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Zn8K1lVkiTBHzzSJdwxeXndnaYotdMjB9/nFMDKUAWk=; fh=OiNFjQ6PM47dDVHh6aWmdk+XU4VfL/yB+EiBHz2zK7E=; b=c5elep3h6+pP92N9vbqwYgGdwXIuEnehzVxLKv07O7FSt+OtAJiRvjO+dASGR/SXuP iNM+aCbYuKSPzAbFkyGqArCcORo5D5ajQ0C1mdpqgFKTxscKX4XWUDcYMBwwiTATJel3 ranzotSLxWjIHQtyIRr5hEi8OZ093zNgICRPwj0fo4L/FutLSX/sWQH0IZdrJXxzMmyC Wqngf89yLYSTCUVF+0HpfnOZ46xON1FFJ0R6S3ZeBKbj1S640lM655DnZZM0SZnB3vJp OPun5Hjhzw91Na0N6h4e7sbTuVAFjkJI3VSs0riQyH/3F5f+NoZZJ7tp5hudLhBCCwxj Z78A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id l2-20020a056a00140200b006ce7bda5f0fsi1465430pfu.314.2023.12.07.08.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 08:31:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 5DA1480BA66E; Thu, 7 Dec 2023 08:31:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232623AbjLGQbl (ORCPT + 99 others); Thu, 7 Dec 2023 11:31:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232804AbjLGQbj (ORCPT ); Thu, 7 Dec 2023 11:31:39 -0500 Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66AE2132 for ; Thu, 7 Dec 2023 08:31:45 -0800 (PST) Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-3b2e330033fso834128b6e.3 for ; Thu, 07 Dec 2023 08:31:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701966704; x=1702571504; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zn8K1lVkiTBHzzSJdwxeXndnaYotdMjB9/nFMDKUAWk=; b=AEsmDBADY1h1xi3KQIYZQ2HCVO2BBexEDw8A4IrGMz+f4d5EDmFEehtZjnWwQ6U2os XhIpLKZwTly7ANCI3HkGkl+Ms5u6FyVXZlEb+VdMqFlJu1sJu3Mfcnf+pK2nhbEd7F2J hzCavz5yUtjyYYJVzRpZrxwIn6Ydvss5xi+lKP3eIvhUnmZq3eY5nduPk02Z4KXvjxgH NqmrQCF2E3Dste6kt6siDfeYGUVXKD+xfiuU7UXhOas5sdrqlEYbxCyplhLBF2i4Yubg Za+PyvwI1YZ8ofBWELNUSpcatiB6lLKeKlhg/18vqyWkWsy4QckXitI/cbOf8oCPI+1F URDA== X-Gm-Message-State: AOJu0YzxV/mqxhALzwWNeBIVrTXDXWXs1ze8HpldGl7jmgLZZeEeKeCs WKB+bMVbCc1Kw8prowp5lQ== X-Received: by 2002:a05:6808:1248:b0:3b2:db24:6384 with SMTP id o8-20020a056808124800b003b2db246384mr3740083oiv.38.1701966704654; Thu, 07 Dec 2023 08:31:44 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id 7-20020aca1207000000b003b2ef9778absm8844ois.46.2023.12.07.08.31.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 08:31:43 -0800 (PST) Received: (nullmailer pid 2710902 invoked by uid 1000); Thu, 07 Dec 2023 16:31:42 -0000 From: Rob Herring To: Greg Kroah-Hartman , Nipun Gupta , Nikhil Agarwal , Abhijit Gangurde Cc: linux-kernel@vger.kernel.org Subject: [PATCH 2/2] cdx: Explicitly include correct DT includes, again Date: Thu, 7 Dec 2023 10:31:27 -0600 Message-ID: <20231207163128.2707993-2-robh@kernel.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231207163128.2707993-1-robh@kernel.org> References: <20231207163128.2707993-1-robh@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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]); Thu, 07 Dec 2023 08:31:51 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784641450528109882 X-GMAIL-MSGID: 1784641450528109882 The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it was 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. CDX was fixed once, but commit ("cdx: Remove cdx controller list from cdx bus system") added another occurrence. Fixes: 54b406e10f03 ("cdx: Remove cdx controller list from cdx bus system") Signed-off-by: Rob Herring Acked-by: Nikhil Agarwal --- drivers/cdx/cdx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/cdx/cdx.c b/drivers/cdx/cdx.c index 4461c6c9313f..d84d153078d7 100644 --- a/drivers/cdx/cdx.c +++ b/drivers/cdx/cdx.c @@ -57,7 +57,10 @@ #include #include +#include #include +#include +#include #include #include #include