Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1632300rdg; Sat, 12 Aug 2023 09:13:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEdzdSA2H38dwOQZ0E75pUMV1XPTACz89cMcrtC3CBemfTjJe140xfnDwo7kJToIYJU3+ST X-Received: by 2002:a17:906:5306:b0:993:dcca:9607 with SMTP id h6-20020a170906530600b00993dcca9607mr3869035ejo.2.1691856821332; Sat, 12 Aug 2023 09:13:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691856821; cv=none; d=google.com; s=arc-20160816; b=iLO8e6AxGEbBRdMFhk0I0FZkSKAfX7DNtXGDnq5yeeDzvlIWE4pA8oHKfYwKaBDn6Q 9nPO2gZ2Lm4dgo6NW1CXMleu7SzNa43JJJEJEQyncEv2Nh+ZRF6jgQT460zCx7CkwG1t ygRlgOCxJWEeVgUOJu3vJLN5QivuLqJUFXSvDvz7/nU67OwVj5v5czjMpmn2s0rfAAvu iLjueXlXDAVLNi7ekAZOOn5kBdOa67/sP3+8lxfwOdwU6MEO5fyWlv6HwT9eMnHUvBSp 6h0Cpt4vaejxnucicE2bvyQ9QSIoaMGxo0MlGriOCjHMljxdmF4mSLKWgXzzFeQncRZy VHRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=Alzx0G/XPXpFyVa7O/4kvWcI5FZUIwHqNqauLfR57Lk=; fh=mf2V8iTL2yGPqs+6dTbWhZG4BdiVPSuis6TaHRt9MV4=; b=YRQI98mhlMUSzuZpJT2cp4Z9xC6XzG3G/Ur80TQQiG69LkEvj1o0QhyI+YFbLxLoI5 R7HFnyzTVTrlk0vxpiKzIb1HlfLO9n/v5iX3dFeUusvh4QPFwUsS7ZG7SJNpnrHwKFS3 sFP7/VuOTOg7KNkx+Mg6WUiQJbhXh2g64Vh8eazFib0hHnSTq3waaCcAee0Ci2m5+lr2 xaVAzFwsx8VC0j+K0kh0ji4mCYaIeFQwxTXCGrDy5/rCxbkQT6xqfc0qsWsy368Lkl92 /+B1kk3GWO+7Pet32iiV5ahgziuPtc/ea8Wv3fEgJ8LNM/TyRt+V3f283wcqueozPjsw Vs2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=d5UegVnw; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n3-20020a1709065e0300b0099cd32bd549si5233099eju.606.2023.08.12.09.13.15; Sat, 12 Aug 2023 09:13:41 -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; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=d5UegVnw; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230189AbjHLPBL (ORCPT + 99 others); Sat, 12 Aug 2023 11:01:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjHLPBK (ORCPT ); Sat, 12 Aug 2023 11:01:10 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::225]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0454E10FB for ; Sat, 12 Aug 2023 08:01:12 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id C7D7F1C0002; Sat, 12 Aug 2023 15:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1691852471; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Alzx0G/XPXpFyVa7O/4kvWcI5FZUIwHqNqauLfR57Lk=; b=d5UegVnwQCxkeqnhM19cX1CA2NdPjbFqAp9XfSh6kdknk/PpLZ7+GTGeorsXHP+Pp9YBd7 Tt+Y/VNZ7fQcMi9bxO5/sJqX0YMlTYJ/B/BJTowF7kopZHdC+HrZuG9oN2YD7eJ5zXR4rd 3Mqr/Hi9DCe2E8GKHI4rGA9AQUuc5h/wvxTEnZBcbvq8k+zMnoNUQvCexfRkrnBJvgDiN3 +W2sXsFQWxg/uFdhExGK3DS6l/rLvLg30iok1dMRlzQN0pktoLw9FxzBOfIYoX6zwAzu8y QCbL9Z6uzXXl8pp4nXTBDh71HzUx+QKvC7N3Tq055TorH9Pa2vUY/DVmlFaJKA== From: Gregory CLEMENT To: Rob Herring , Andrew Lunn , Sebastian Hesselbarth , Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: mvebu: Explicitly include correct DT includes In-Reply-To: <20230717225456.3212019-1-robh@kernel.org> References: <20230717225456.3212019-1-robh@kernel.org> Date: Sat, 12 Aug 2023 17:01:09 +0200 Message-ID: <87v8dktidm.fsf@BL-laptop> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: gregory.clement@bootlin.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 Rob Herring writes: > 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 Applied on mvebu/arm Thanks, Gregory > --- > arch/arm/mach-mvebu/kirkwood.c | 1 + > arch/arm/mach-mvebu/pmsu.c | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c > index 8ff34753e760..73b2a86d6489 100644 > --- a/arch/arm/mach-mvebu/kirkwood.c > +++ b/arch/arm/mach-mvebu/kirkwood.c > @@ -15,6 +15,7 @@ > #include > #include > #include > +#include > #include > #include > #include > diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c > index 6f366d8c4231..79c5171f06ec 100644 > --- a/arch/arm/mach-mvebu/pmsu.c > +++ b/arch/arm/mach-mvebu/pmsu.c > @@ -23,8 +23,8 @@ > #include > #include > #include > +#include > #include > -#include > #include > #include > #include > -- > 2.40.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com