> -----Original Message-----
> From: Tony Lindgren [mailto:[email protected]]
> Sent: Thursday, April 01, 2010 3:01 PM
> To: Varadarajan, Charulatha
> Cc: [email protected]; Nayak, Rajendra; [email protected]
> Subject: Re: [PATCH 2/8] OMAP3:GPIO:Add support for early platform gpio device
> 
> * Charulatha V <[email protected]> [100331 05:15]:
> > +
> > +int __init omap3_early_init_gpio(struct platform_device ***pdev)
> > +{
> > +   *pdev = omap3_gpio_early_dev;
> > +   return OMAP34XX_NR_GPIOS;
> > +}
> 
> ...
> 
> > +int __init omap3_gpio_dev_reg(void)
> > +{
> > +   if (cpu_is_omap34xx()) {
> > +           platform_device_register(&omap3_gpio1);
> > +           platform_device_register(&omap3_gpio2);
> > +           platform_device_register(&omap3_gpio3);
> > +           platform_device_register(&omap3_gpio4);
> > +           platform_device_register(&omap3_gpio5);
> > +           platform_device_register(&omap3_gpio6);
> > +   }
> > +   return 0;
> > +}
> > +arch_initcall(omap3_gpio_dev_reg);
> 
> Just call omap_gpio_init for each platform data.

I miss something here. Please provide more info.

> 
> Tony
--
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

Reply via email to