From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nishanth Menon Subject: Re: [PATCH linux-next] ARM: OMAP2+: fix omap4-restart compilation Date: Thu, 27 Jun 2013 08:18:06 -0500 Message-ID: <51CC3B8E.8070702@ti.com> References: <1372335961-31401-1-git-send-email-vincent.stehle@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from comal.ext.ti.com ([198.47.26.152]:50806 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752165Ab3F0NSr (ORCPT ); Thu, 27 Jun 2013 09:18:47 -0400 In-Reply-To: <1372335961-31401-1-git-send-email-vincent.stehle@freescale.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: =?UTF-8?B?VmluY2VudCBTdGVobMOp?= Cc: linux-next@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Robin Holt , Russell King , Tony Lindgren , trivial@kernel.org, Arnd Bergmann On 06/27/2013 07:26 AM, Vincent Stehl=C3=A9 wrote: > Fix following compilation error due to missing include file: > > arch/arm/mach-omap2/omap4-restart.c:21:28: warning: =E2=80=98enum = reboot_mode=E2=80=99 declared inside parameter list [enabled by default= ] > arch/arm/mach-omap2/omap4-restart.c:21:28: warning: its scope is o= nly this definition or declaration, which is probably not what you want= [enabled by default] > arch/arm/mach-omap2/omap4-restart.c:21:40: error: parameter 1 (=E2= =80=98mode=E2=80=99) has incomplete type > arch/arm/mach-omap2/omap4-restart.c:21:6: warning: function declar= ation isn=E2=80=99t a prototype [-Wstrict-prototypes] > make[1]: *** [arch/arm/mach-omap2/omap4-restart.o] Error 1 > > Signed-off-by: Vincent Stehl=C3=A9 > Cc: Robin Holt > Cc: Russell King > Cc: Tony Lindgren > Cc: trivial@kernel.org > --- > > > Hi, > > This fixes the build of linux-next for arch ARM, config multi_v7_defc= onfig, tag > next-20130627. > > Best regards, > > V. > > > arch/arm/mach-omap2/omap4-restart.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/mach-omap2/omap4-restart.c b/arch/arm/mach-omap= 2/omap4-restart.c > index 652adde..41dfd7d 100644 > --- a/arch/arm/mach-omap2/omap4-restart.c > +++ b/arch/arm/mach-omap2/omap4-restart.c > @@ -8,6 +8,7 @@ > */ > > #include > +#include > #include "prminst44xx.h" > > /** > Same was covered already? http://lists.infradead.org/pipermail/linux-arm-kernel/2013-June/178209.= html --=20 Regards, Nishanth Menon