RE: [PATCH 3/8] OMAP2:GPIO:Add support for early platform gpio device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Varadarajan, Charulatha
> Sent: Thursday, April 01, 2010 2:24 PM
> To: 'felipe.balbi@xxxxxxxxx'
> Cc: linux-omap@xxxxxxxxxxxxxxx; Nayak, Rajendra; paul@xxxxxxxxx; tony@xxxxxxxxxxx
> Subject: RE: [PATCH 3/8] OMAP2:GPIO:Add support for early platform gpio device
> 
> 
> 
> > -----Original Message-----
> > From: Felipe Balbi [mailto:felipe.balbi@xxxxxxxxx]
> > Sent: Thursday, April 01, 2010 12:56 PM
> > To: Varadarajan, Charulatha
> > Cc: linux-omap@xxxxxxxxxxxxxxx; Nayak, Rajendra; paul@xxxxxxxxx;
> tony@xxxxxxxxxxx
> > Subject: Re: [PATCH 3/8] OMAP2:GPIO:Add support for early platform gpio device
> >
> > On Wed, Mar 31, 2010 at 02:23:54PM +0200, ext Charulatha V wrote:
> > >+static inline struct gpio_bank *omap2_get_gpio_bank(int gpio,
> > >+                                       struct gpio_bank *gpio_bank)
> > >+{
> > >+       if (cpu_is_omap24xx())
> > >+               return &gpio_bank[gpio >> 5];
> > >+       BUG();
> >
> > so if we build support omap 2420 and 3430 we will have a BUG() ??
> 
> Multi-OMAP build will not give a BUG(). If this function is called during non-3430
> OMAP arch, it will have a BUG().

A correction - it would give BUG() for non-24xx OMAP, if called.

> 
> >
> > --
> > balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux