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

Felipe Balbi
2010-04-01T07:27:07Z

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() ??

--
balbi