Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6437966rwp; Mon, 17 Jul 2023 23:39:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlEh+16oCZXpZ71oQGje9ZVXhgdx65u5iYG8znVXd4RzpC43ZqFLGqMDJ5qDG12hzF71HSBe X-Received: by 2002:a05:6a20:7348:b0:131:e0a:3cf4 with SMTP id v8-20020a056a20734800b001310e0a3cf4mr13707682pzc.57.1689662341963; Mon, 17 Jul 2023 23:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689662341; cv=none; d=google.com; s=arc-20160816; b=HTle1PlDOdCgPH1Xjjs6u5eJc/Us1HrRFBRKD0MuNcWCk1PIhK2Gxi33EVxsdGaMN8 RtmduXqe3uw1HWnvjjYcQy2sj52l75w6Xclerel0LOXF1+VdiZw9Yd3Kl9zKBu27b1ek ajq9KU2kCUwzaK89FYQUCTO1WEckIIkEQja9eNBr/nrUMpoZSLs3sB8k1rGwjXJyDZyi H6V/cZM5iP4SEP3aa2X96TizKgTKliJu4S29sbWl/xIpaY64HBE6AAq/et8SuaQDz4H0 /rA9CNNF1BM8+HJ3gvGynO91JNddooMrH2MFGd2CfaLYkOJGqp6mOMp6gwxZXWH/JXJ6 j9rA== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=RpKAtUiUinq9Lhw+v54h3QcTHPMMcdg2W9j58F9msCI=; fh=TGPsYV4XE6H6bxZKab6XPKX+yI/7Hxl+GNY6QMtho2o=; b=cUkKAWyiZGFbw49qvCtyUVY26SNXebOuyzlWcGMvFJXzxkMRUj5m6ZKUjPj69ZLBQ1 NfhC6z7JyFaQ+sm1UwHPh2az2reXd6h7rJS9Mtj5rdnkvRbt7j78TD/j/JDEarLFShNB Frnh7GZIppv6TISIHiQe5zxnh/FrJ0jlZzoFs6LTj48ENJrCL4UGFO/VxOEHl9hViUPD Cj85K3cJuXPu61cSeMw+z/eg+3uqzdzKuDcxM5SmyXQcUnRzdci/RIief0xbE1Lqxs97 wUTphBXXGXX0tpgS7oB3IhUPiA7OkMj1B5kbBcqCnsG9UV20I2apj1KyCpLG8bT9vIc3 gyMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=lVsAfqer; 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 b15-20020a056a000a8f00b0067d77ec0d2csi1143934pfl.123.2023.07.17.23.38.49; Mon, 17 Jul 2023 23:39:01 -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=lVsAfqer; 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 S231391AbjGRGcK (ORCPT + 99 others); Tue, 18 Jul 2023 02:32:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231286AbjGRGcE (ORCPT ); Tue, 18 Jul 2023 02:32:04 -0400 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD7EE136; Mon, 17 Jul 2023 23:32:01 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id E080220008; Tue, 18 Jul 2023 06:31:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1689661919; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RpKAtUiUinq9Lhw+v54h3QcTHPMMcdg2W9j58F9msCI=; b=lVsAfqer8xWiySiEq4z7Whp9otUwyCQXKtPI1tRr5f7imi5WmvidsvbXpCUGXwxk1c+lvE oUHmSljh698Kg7YXWz38yD7YKynczdgakNvh9W31vXeG3ASFtYmUbHMMJvu2jAXs6WXMFe qDOvnq5fNCwuhkU5Pv9JkSJ8uAbs1yjvZIjT+WnxMiQeDJLtUHfZO7aM8YIAG7auX7E6KB neoUdUzoHRJnTzkhM6WLVgYwYyzcHYvDk8cc5I9mppjSrEmHREOSYJaDUdNw61xuiMD/34 m7I4N+6JbCgr4Op1Mxo+kriyEeSldJsgWRrKtcIj3mGk+C0lffE+F3dHz9dysw== Date: Tue, 18 Jul 2023 08:31:49 +0200 From: Herve Codina To: Rob Herring Cc: Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Thierry Reding , Jonathan Hunter , Minas Harutyunyan , Thinh Nguyen , Li Yang , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Michal Simek , Alan Stern , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Mathias Nyman , Richard Leitner , Chunfeng Yun , Paul Cercueil , Bin Liu , Conor Dooley , Daire McNamara , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Guenter Roeck , Heikki Krogerus , "Bryan O'Donoghue" , Andy Gross , Bjorn Andersson , Konrad Dybcio , Matthias Brugger , AngeloGioacchino Del Regno , devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-renesas-soc@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-mips@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH] usb: Explicitly include correct DT includes Message-ID: <20230718083149.77fa57ef@bootlin.com> In-Reply-To: <20230714175027.4065135-1-robh@kernel.org> References: <20230714175027.4065135-1-robh@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,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 Hi Rob, On Fri, 14 Jul 2023 11:50:23 -0600 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 > --- [...] > diff --git a/drivers/usb/gadget/udc/renesas_usbf.c b/drivers/usb/gadget/udc/renesas_usbf.c > index 6cd0af83e91e..3482b41d0646 100644 > --- a/drivers/usb/gadget/udc/renesas_usbf.c > +++ b/drivers/usb/gadget/udc/renesas_usbf.c > @@ -12,10 +12,9 @@ > #include > #include > #include > +#include > #include > -#include > -#include > -#include > +#include > #include > #include > #include Acked-by: Herve Codina Best regards, Hervé