From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D2C6C0015E for ; Mon, 17 Jul 2023 00:21:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230320AbjGQAVG (ORCPT ); Sun, 16 Jul 2023 20:21:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229710AbjGQAVE (ORCPT ); Sun, 16 Jul 2023 20:21:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BAAB1BC; Sun, 16 Jul 2023 17:21:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C4CB960EEB; Mon, 17 Jul 2023 00:21:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30DBCC433C8; Mon, 17 Jul 2023 00:21:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689553263; bh=39EhNC20zHNOUZZftRk8UzXhDqwqVwCGkzx3aUfaMEg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=CsNvDkbFBm8IHU1W1CEvJizKR5HJ3fu8EBFckaeY8SHPVJwIckWVGHSH9UWtg135k ehS+t47/vQsSJvS9Fc2QgZj9SZe43AzXtWNbfeS60V1EpU0EBYKOPV1ry+4VsCkpMk sElVNTM1a0Odzmu+rOnpY2YBgecji8e8P83ZBnPdDp+siipQpGXmSaUIjZFQfqbr+r 2C0iMy8rQ5f1XItfHehoD1rDQee5L0b0e8Fpa/sUhGX+DneXAL6VmSPIYfPOC16mWc ULeE9U5UwGO0UNfz6Mp9G9YHyWxGzFUJZ+VhVL700EZBtWs8lfEL2fGVvB4/EHXSYG xEJ9NCStZWjzg== Message-ID: <1ac17275-7972-5161-0bf2-183d628e256e@kernel.org> Date: Mon, 17 Jul 2023 09:20:58 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] reset: Explicitly include correct DT includes To: Rob Herring , Philipp Zabel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Conor Dooley , Daire McNamara , Andy Gross , Bjorn Andersson , Konrad Dybcio , Kunihiko Hayashi , Masami Hiramatsu , Michal Simek Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org References: <20230714174939.4063667-1-robh@kernel.org> Content-Language: en-US From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20230714174939.4063667-1-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/15/23 02:49, Rob Herring wrote: > 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 Reviewed-by: Damien Le Moal -- Damien Le Moal Western Digital Research