From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Thu, 13 Oct 2011 16:21:42 +0100 Subject: [PATCH] arm: omap: Fix errors and warnings when building for one board In-Reply-To: References: <1318517623-16066-1-git-send-email-premi@ti.com> <20111013145615.GB22076@n2100.arm.linux.org.uk> Message-ID: <20111013152142.GC22076@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Oct 13, 2011 at 08:36:19PM +0530, Premi, Sanjeev wrote: > > -----Original Message----- > > From: Russell King - ARM Linux [mailto:linux at arm.linux.org.uk] > > Sent: Thursday, October 13, 2011 8:26 PM > > To: Premi, Sanjeev > > Cc: linux-omap at vger.kernel.org; linux-arm-kernel at lists.infradead.org > > Subject: Re: [PATCH] arm: omap: Fix errors and warnings when > > building for one board > > > > On Thu, Oct 13, 2011 at 08:23:43PM +0530, Sanjeev Premi wrote: > > > +#if defined(CONFIG_ARCH_OMAP4) > > > > Please use #ifdef unless you're intending to expand the condition. > > > > I tried to be consistent with existing use of #if defined() in the > file(s). Will change it. Thanks. > Should I change the other instances as well? I'd suggest not - though I can't really tell as I don't have a version with that to look at.