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 1DD0AC433EF for ; Tue, 29 Mar 2022 08:10:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233756AbiC2IMj (ORCPT ); Tue, 29 Mar 2022 04:12:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232285AbiC2IMj (ORCPT ); Tue, 29 Mar 2022 04:12:39 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC73024587; Tue, 29 Mar 2022 01:10:55 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 7ABEA60015; Tue, 29 Mar 2022 08:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1648541454; 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=NIWeVXp5W7Tm62vf3HbLfCCWgDNazWwRL2/kVsgxxvU=; b=fPwKcMracZgtVY+QxEkAB4PGiZlBSbk3ENnAi+LgEhzlNp2Um/GE2p5n0cwC5d3daLI/ix 7aKmE6Eu1Z0ETiHkb3+CjIfGBjsEFAcrK4ZYja1FVBPwt0L2RCrdj+EnkvMftaOSkE6gIX 2cjZuatijrYYM224DGEiYyxV9izW6Y9Iz469eRbi9M74cQ9GUNCz3LGfohPy9lNS3XoCG1 giAC38DktbX6E9BcNb4GULiveRSFpv0j0cFlRceoYm8gFYEv2YU8Ento/jVSUDHxhoXlyZ WnLWQW/B6l/EMGsNuibAiBCxMN2y1+by54kCL4hy13lSnqjSti3KPp2FJFaBKg== Date: Tue, 29 Mar 2022 10:10:49 +0200 From: Miquel Raynal To: Andy Shevchenko Cc: Linux-Renesas , Magnus Damm , Gareth Williams , Phil Edworthy , Geert Uytterhoeven , Greg Kroah-Hartman , Jiri Slaby , Andy Shevchenko , Milan Stevanovic , Jimmy Lalande , Pascal Eberhard , Thomas Petazzoni , Herve Codina , Clement Leger , "open list:SERIAL DRIVERS" Subject: Re: [PATCH v2 01/10] serial: 8250: dw: Move the per-device structure Message-ID: <20220329101049.069a0b1b@xps13> In-Reply-To: References: <20220317174627.360815-1-miquel.raynal@bootlin.com> <20220317174627.360815-2-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Hi Andy, andy.shevchenko@gmail.com wrote on Fri, 18 Mar 2022 12:51:29 +0200: > On Thu, Mar 17, 2022 at 9:56 PM Miquel Raynal = wrote: > > > > From: Phil Edworthy > > > > This structure needs to be reused from dwlib, so let's move it into a > > shared header. There is no functional change. =20 >=20 > ... >=20 > > #include =20 >=20 > > +#include =20 >=20 > I have mentioned forward declarations. Why do you want forward declarations more than includes? > So, this can be simply replaced by >=20 > struct clk; >=20 > > +#include > > +#include =20 And why these two should remain but reset and clk be replaced? >=20 > > +#include =20 >=20 > Ditto. >=20 > struct reset_control; >=20 > On top of that, please keep them ordered. >=20 > Otherwise it looks good to me. >=20 Thanks, Miqu=C3=A8l