From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: OMAP2 build errors Date: Sat, 28 Mar 2009 10:35:53 -0700 Message-ID: <20090328173552.GB5291@atomide.com> References: <20090328124823.GB4550@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mho-01-bos.mailhop.org ([63.208.196.178]:49668 "EHLO mho-01-bos.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752317AbZC1RgB (ORCPT ); Sat, 28 Mar 2009 13:36:01 -0400 Content-Disposition: inline In-Reply-To: <20090328124823.GB4550@n2100.arm.linux.org.uk> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Russell King - ARM Linux Cc: linux-arm-kernel@lists.arm.linux.org.uk, linux-omap@vger.kernel.org * Russell King - ARM Linux [090328 05:48]: > The result of building an OMAP2 configuration for merged mainline, ma= ster > and devel branches is: >=20 > CC arch/arm/mach-omap2/devices.o > arch/arm/mach-omap2/devices.c:160: error: =E2=96=A0OMAP34XX_MAILBOX_B= ASE=E2=96=A0 undeclared here (not in a function) >=20 > Please resolve ASAP - if I don't have a patch by this evening, I will > commit the work-around below: >=20 > diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devi= ces.c > index d6b4b2f..d16d880 100644 > --- a/arch/arm/mach-omap2/devices.c > +++ b/arch/arm/mach-omap2/devices.c > @@ -156,6 +156,7 @@ static struct resource omap2_mbox_resources[] =3D= { > }; > =20 > static struct resource omap3_mbox_resources[] =3D { > +#ifdef CONFIG_ARCH_OMAP3 > { > .start =3D OMAP34XX_MAILBOX_BASE, > .end =3D OMAP34XX_MAILBOX_BASE + MBOX_REG_SIZE - 1, > @@ -165,6 +166,7 @@ static struct resource omap3_mbox_resources[] =3D= { > .start =3D INT_24XX_MAIL_U0_MPU, > .flags =3D IORESOURCE_IRQ, > }, > +#endif > }; > =20 > static struct platform_device mbox_device =3D { Hmm, I thought I compiled all boards both against mainline and omap-clks3. I'll check it and send a patch ASAP. Tony=20 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html