Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2873842yba; Mon, 15 Apr 2019 23:04:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyreF3N/1Wxde5V9G7NP1bkKwE9YC57sRP0IbpE433L1p3LZ6RdRL/M36Sp0OYt55bsjsoI X-Received: by 2002:a63:7843:: with SMTP id t64mr56227926pgc.130.1555394693636; Mon, 15 Apr 2019 23:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555394693; cv=none; d=google.com; s=arc-20160816; b=xX6UfYVoFpzyuVIVgHMjr0jdvc1oKSC0BdLgOvOq1LcKgJFbHSgbovTT9OB4Y+HimI n6i6BN9UisgMPEoK8R20+AL9TnSaw+ehiqbAK4EQcWQWXGNROF0Zd2l3C3/SkiK2i32R xbL524TLxykyzju+oiXmZ5udAAfxuU6zREnP3bdwIqW03DXMAs2Hl4T+5wPMekEDnE8/ ZV4oTZdpq3DoB+kBy+L/EGxOlse92ySGWCEPWeDcfS8OMzdrdpatEiSO8iHXpRdHp2+S QF+HIgmJdVqHHlaNkhDSckaGyQ8u8F/vMGGii0+TrBKu9Gibh0SaItvryIKmKX03V+wJ QtPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=jlnMUM83OFaSC+ZKyfNUGeS5s6/P9X+VRmbmyEjcmmw=; b=hlpM/WGMQlwyDtGxWlN0SypnT2ynoc6yzjjAYxFYoCqIDVUa9YR7aOgHNBSgURUZ5q RxziBhQAnayrP6cLNVma4a3NZOQGjlkzeShBGxl04oJit4yZk9JfQuvS9oII3aZmIAAq ezWwtXXUREV7dlhifPRp/al8hRcu2jH4OvCh8CKi+o0XywWFZSqFUTB8B0SwNjwFu6T5 vMSKA4CJ/VIDk/2lQ9smgQNNNi96CRdA/owrDL13Pbt2QvWdt/aAa1XYbC+zwlgjmRdY znFDLvl6TypCQUtA5GQbREea2Zxp1IQdsShEhjXdkW/1YHKH094FcjVx44O9U8BxhAH4 LFFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12si30060195pgv.415.2019.04.15.23.04.36; Mon, 15 Apr 2019 23:04:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726917AbfDPGD5 (ORCPT + 99 others); Tue, 16 Apr 2019 02:03:57 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:32954 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726590AbfDPGD5 (ORCPT ); Tue, 16 Apr 2019 02:03:57 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 44jvvC5JZbz1rK4G; Tue, 16 Apr 2019 08:03:51 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 44jvvC4CJGz1rVwL; Tue, 16 Apr 2019 08:03:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id JHL0kH-_a42y; Tue, 16 Apr 2019 08:03:49 +0200 (CEST) X-Auth-Info: /FVBNWmgyxmqtXsnYZmWT9j8d/z4a6s6ZmAfMoDILR0= Received: from jawa (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 16 Apr 2019 08:03:49 +0200 (CEST) Date: Tue, 16 Apr 2019 08:03:39 +0200 From: Lukasz Majewski To: Arnd Bergmann Cc: Hartley Sweeten , Alexander Sverdlin , Linus Walleij , Olof Johansson , Mark Brown , Ulf Hansson , Laurent Pinchart , Miquel Raynal , Boris Brezillon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] ARM: ep93xx: move private headers out of mach/* Message-ID: <20190416080339.5360befd@jawa> In-Reply-To: <20190415193231.936070-1-arnd@arndb.de> References: <20190415192734.935387-1-arnd@arndb.de> <20190415193231.936070-1-arnd@arndb.de> Organization: denx.de X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/2+fZ2yzH1wC4rEYfmZTC2NA"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/2+fZ2yzH1wC4rEYfmZTC2NA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 15 Apr 2019 21:31:50 +0200 Arnd Bergmann wrote: > gpio-ep93xx.h, hardware.h, and platform.h are only used in > arch/arm/mach-ep93xx, so we can move them one there and no > longer expose them to device drivers. >=20 > Signed-off-by: Arnd Bergmann > --- > arch/arm/mach-ep93xx/adssphere.c | 2 +- > arch/arm/mach-ep93xx/clock.c | 2 +- > arch/arm/mach-ep93xx/core.c | 6 +++--- > arch/arm/mach-ep93xx/dma.c | 2 +- > arch/arm/mach-ep93xx/edb93xx.c | 4 ++-- > arch/arm/mach-ep93xx/gesbc9312.c | 2 +- > arch/arm/mach-ep93xx/{include/mach =3D> }/gpio-ep93xx.h | 0 > arch/arm/mach-ep93xx/{include/mach =3D> }/hardware.h | 2 +- > arch/arm/mach-ep93xx/micro9.c | 2 +- > arch/arm/mach-ep93xx/{include/mach =3D> }/platform.h | 0 > arch/arm/mach-ep93xx/simone.c | 4 ++-- > arch/arm/mach-ep93xx/snappercl15.c | 4 ++-- > arch/arm/mach-ep93xx/ts72xx.c | 4 ++-- > arch/arm/mach-ep93xx/vision_ep9307.c | 4 ++-- > 14 files changed, 19 insertions(+), 19 deletions(-) > rename arch/arm/mach-ep93xx/{include/mach =3D> }/gpio-ep93xx.h (100%) > rename arch/arm/mach-ep93xx/{include/mach =3D> }/hardware.h (96%) > rename arch/arm/mach-ep93xx/{include/mach =3D> }/platform.h (100%) >=20 Reviewed-by: Lukasz Majewski > diff --git a/arch/arm/mach-ep93xx/adssphere.c > b/arch/arm/mach-ep93xx/adssphere.c index bda6c3a5c923..5d3a3e302012 > 100644 --- a/arch/arm/mach-ep93xx/adssphere.c > +++ b/arch/arm/mach-ep93xx/adssphere.c > @@ -15,7 +15,7 @@ > #include > #include > =20 > -#include > +#include "hardware.h" > =20 > #include > #include > diff --git a/arch/arm/mach-ep93xx/clock.c > b/arch/arm/mach-ep93xx/clock.c index 9f43362eb62d..b9f523d9dc8c 100644 > --- a/arch/arm/mach-ep93xx/clock.c > +++ b/arch/arm/mach-ep93xx/clock.c > @@ -22,7 +22,7 @@ > #include > #include > =20 > -#include > +#include "hardware.h" > =20 > #include > =20 > diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c > index 3d245668846d..cc1382f879af 100644 > --- a/arch/arm/mach-ep93xx/core.c > +++ b/arch/arm/mach-ep93xx/core.c > @@ -39,13 +39,13 @@ > #include > #include > =20 > -#include > +#include "hardware.h" > #include > #include > #include > #include > =20 > -#include > +#include "gpio-ep93xx.h" > =20 > #include > #include > @@ -125,7 +125,7 @@ void ep93xx_devcfg_set_clear(unsigned int > set_bits, unsigned int clear_bits) /** > * ep93xx_chip_revision() - returns the EP93xx chip revision > * > - * See for more information. > + * See "platform.h" for more information. > */ > unsigned int ep93xx_chip_revision(void) > { > diff --git a/arch/arm/mach-ep93xx/dma.c b/arch/arm/mach-ep93xx/dma.c > index 88a4c9b089a5..821427107b11 100644 > --- a/arch/arm/mach-ep93xx/dma.c > +++ b/arch/arm/mach-ep93xx/dma.c > @@ -26,7 +26,7 @@ > #include > =20 > #include > -#include > +#include "hardware.h" > =20 > #include "soc.h" > =20 > diff --git a/arch/arm/mach-ep93xx/edb93xx.c > b/arch/arm/mach-ep93xx/edb93xx.c index 8e89ec8b6f0f..d96dd014dd23 > 100644 --- a/arch/arm/mach-ep93xx/edb93xx.c > +++ b/arch/arm/mach-ep93xx/edb93xx.c > @@ -32,10 +32,10 @@ > =20 > #include > =20 > -#include > +#include "hardware.h" > #include > #include > -#include > +#include "gpio-ep93xx.h" > =20 > #include > #include > diff --git a/arch/arm/mach-ep93xx/gesbc9312.c > b/arch/arm/mach-ep93xx/gesbc9312.c index 0cca5b183309..ac48e3476587 > 100644 --- a/arch/arm/mach-ep93xx/gesbc9312.c > +++ b/arch/arm/mach-ep93xx/gesbc9312.c > @@ -15,7 +15,7 @@ > #include > #include > =20 > -#include > +#include "hardware.h" > =20 > #include > #include > diff --git a/arch/arm/mach-ep93xx/include/mach/gpio-ep93xx.h > b/arch/arm/mach-ep93xx/gpio-ep93xx.h similarity index 100% > rename from arch/arm/mach-ep93xx/include/mach/gpio-ep93xx.h > rename to arch/arm/mach-ep93xx/gpio-ep93xx.h > diff --git a/arch/arm/mach-ep93xx/include/mach/hardware.h > b/arch/arm/mach-ep93xx/hardware.h similarity index 96% > rename from arch/arm/mach-ep93xx/include/mach/hardware.h > rename to arch/arm/mach-ep93xx/hardware.h > index 8938906e780a..e7d850e04782 100644 > --- a/arch/arm/mach-ep93xx/include/mach/hardware.h > +++ b/arch/arm/mach-ep93xx/hardware.h > @@ -6,7 +6,7 @@ > #ifndef __ASM_ARCH_HARDWARE_H > #define __ASM_ARCH_HARDWARE_H > =20 > -#include > +#include "platform.h" > =20 > /* > * The EP93xx has two external crystal oscillators. To generate the > diff --git a/arch/arm/mach-ep93xx/micro9.c > b/arch/arm/mach-ep93xx/micro9.c index 373583c29825..c7f64e4ff6c7 > 100644 --- a/arch/arm/mach-ep93xx/micro9.c > +++ b/arch/arm/mach-ep93xx/micro9.c > @@ -16,7 +16,7 @@ > #include > #include > =20 > -#include > +#include "hardware.h" > =20 > #include > #include > diff --git a/arch/arm/mach-ep93xx/include/mach/platform.h > b/arch/arm/mach-ep93xx/platform.h similarity index 100% > rename from arch/arm/mach-ep93xx/include/mach/platform.h > rename to arch/arm/mach-ep93xx/platform.h > diff --git a/arch/arm/mach-ep93xx/simone.c > b/arch/arm/mach-ep93xx/simone.c index 80ccb984d521..adc17289cc23 > 100644 --- a/arch/arm/mach-ep93xx/simone.c > +++ b/arch/arm/mach-ep93xx/simone.c > @@ -27,8 +27,8 @@ > #include > #include > =20 > -#include > -#include > +#include "hardware.h" > +#include "gpio-ep93xx.h" > =20 > #include > #include > diff --git a/arch/arm/mach-ep93xx/snappercl15.c > b/arch/arm/mach-ep93xx/snappercl15.c index cf0cb58b3454..f8f89551dbed > 100644 --- a/arch/arm/mach-ep93xx/snappercl15.c > +++ b/arch/arm/mach-ep93xx/snappercl15.c > @@ -25,9 +25,9 @@ > =20 > #include > =20 > -#include > +#include "hardware.h" > #include > -#include > +#include "gpio-ep93xx.h" > =20 > #include > #include > diff --git a/arch/arm/mach-ep93xx/ts72xx.c > b/arch/arm/mach-ep93xx/ts72xx.c index 85b74ac943f0..bba6aa5d7106 > 100644 --- a/arch/arm/mach-ep93xx/ts72xx.c > +++ b/arch/arm/mach-ep93xx/ts72xx.c > @@ -23,8 +23,8 @@ > #include > #include > =20 > -#include > -#include > +#include "gpio-ep93xx.h" > +#include "hardware.h" > #include > =20 > #include > diff --git a/arch/arm/mach-ep93xx/vision_ep9307.c > b/arch/arm/mach-ep93xx/vision_ep9307.c index > 767ee64628dc..66e2b34aa779 100644 --- > a/arch/arm/mach-ep93xx/vision_ep9307.c +++ > b/arch/arm/mach-ep93xx/vision_ep9307.c @@ -31,10 +31,10 @@ > =20 > #include > =20 > -#include > +#include "hardware.h" > #include > #include > -#include > +#include "gpio-ep93xx.h" > =20 > #include > #include Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/2+fZ2yzH1wC4rEYfmZTC2NA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAly1cDsACgkQAR8vZIA0 zr1h5wf/TVNGxggOkqNutSR8OEZ3D+ASURYBFO4Kb9VDFPJ/El9iIHLy3YYol5sH 8bcDFugmU4t7xPdzXMv6IGs2eMc0qn7aYP2hCy6foiFrZ9LVRSEufvBw3wRVJ4+V 52l1k7oOIjWjK8heGskII6t+S263AKOQT1zveshZitnpYbsAIZMaFANAoCnXZ1Aj WdJRvspqNcSLWpvraYJK5kolBxOC5zZXwl1boC74ODRv8vu5RH7holHEcBPF6Y/Z 6KA91poJVeNLO+A4zBbq8CZvKGx5UBiqFR2oZCxORVDpvKeQFgf/1eR7ihiq58+M GFpupmFttekI62lrNdQdPFLyweqMpQ== =jsjH -----END PGP SIGNATURE----- --Sig_/2+fZ2yzH1wC4rEYfmZTC2NA--