RE: [PATCH 6/9] ARM: OMAP2+: gpmc-smsc911x: Adapt to use gpmc driver

2012-06-14 Thread Mohammed, Afzal
Hi Tony, On Thu, Jun 14, 2012 at 14:26:52, Tony Lindgren wrote: > * Afzal Mohammed [120611 08:20]: > > +__init gpmc_smsc911x_update(struct omap_smsc911x_platform_data *gpmc_cfg) > > +{ > > + int ret; > > + struct gpmc_device_pdata *gpmc_pdev; > > + struct gpmc_cs_data *gpmc_cs; > > + > > +

Re: [PATCH 6/9] ARM: OMAP2+: gpmc-smsc911x: Adapt to use gpmc driver

2012-06-14 Thread Tony Lindgren
* Afzal Mohammed [120611 08:20]: > +__init gpmc_smsc911x_update(struct omap_smsc911x_platform_data *gpmc_cfg) > +{ > + int ret; > + struct gpmc_device_pdata *gpmc_pdev; > + struct gpmc_cs_data *gpmc_cs; > + > + gpmc_pdev = kzalloc(sizeof(*gpmc_pdev), GFP_KERNEL); > + if (gpmc_p

[PATCH 6/9] ARM: OMAP2+: gpmc-smsc911x: Adapt to use gpmc driver

2012-06-11 Thread Afzal Mohammed
Currently gpmc is configured in platform for smsc911x. As gpmc driver is now present, populate details needed for the driver to configure gpmc, gpmc driver would configure based on this information. Old interface has been left as is so that platforms can continue configuring gpmc using old interfac