> -----Original Message-----
> From: Tony Lindgren [mailto:[email protected]]
> Sent: Friday, September 17, 2010 12:58 AM
> To: G, Manjunath Kondaiah
> Cc: [email protected]; Menon, Nishanth
> Subject: Re: [PATCH 04/11] OMAP: mach-omap2: Fix
> miscellaneous sparse warnings
>
> * G, Manjunath Kondaiah <[email protected]> [100826 13:50]:
> > From: Manjunatha GK <[email protected]>
...
> > I2C_BOARD_INFO("s35390a", 0x30),
> > - .type = "s35390a",
> > },
> > };
>
> OK, I2C_BOARD_INFO sets it too.
>
> > diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c
> > index 26aeef5..02fd942 100644
> > --- a/arch/arm/mach-omap2/irq.c
> > +++ b/arch/arm/mach-omap2/irq.c
> > @@ -47,7 +47,7 @@ static struct omap_irq_bank { } __attribute__
> > ((aligned(4))) irq_banks[] = {
> > {
> > /* MPU INTC */
> > - .base_reg = 0,
> > + .base_reg = (void __iomem *)0,
> > .nr_irqs = 96,
> > },
> > };
>
> The base_reg line you can remove, the static data area gets
> zeroed during init.
Ok.
-Manjunath
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html