From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5pYc-0003ti-Ma for barebox@lists.infradead.org; Mon, 18 Mar 2019 10:31:52 +0000 Date: Mon, 18 Mar 2019 11:31:48 +0100 From: Roland Hieber Message-ID: <20190318103148.g74dwta7od4226ee@pengutronix.de> References: <20190318091454.11386-1-s.hauer@pengutronix.de> <20190318091454.11386-6-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190318091454.11386-6-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 05/11] ARM: boards: Harmonize barebox_arm_reset_vector() prototype To: Sascha Hauer Cc: Barebox List On Mon, Mar 18, 2019 at 10:14:48AM +0100, Sascha Hauer wrote: > barebox_arm_reset_vector() is a global function but we never provided a > prototype anywhere. The prototypes differ for the different boards, so > to provide a common prototype we must harmonize them. > > void barebox_arm_reset_vector(uint32_t r0, uint32_t r1, uint32_t r2) > > Should be suitable for all boards. > > Signed-off-by: Sascha Hauer > --- [...] > diff --git a/arch/arm/mach-imx/cpu_init.c b/arch/arm/mach-imx/cpu_init.c > index f0d009dfd2..471ef0cfd5 100644 > --- a/arch/arm/mach-imx/cpu_init.c > +++ b/arch/arm/mach-imx/cpu_init.c > @@ -12,6 +12,7 @@ > * GNU General Public License for more details. > */ > > +#include Was this intentional? The commit message doesn't say anything about it, and it is the only such change in the commit. - Roland > #include > #include > #include > -- > 2.20.1 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Roland Hieber | r.hieber@pengutronix.de | Pengutronix e.K. | https://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox