* Afzal Mohammed <af...@ti.com> [120611 08:19]:
> --- a/arch/arm/mach-omap2/gpmc-smc91x.c
> +++ b/arch/arm/mach-omap2/gpmc-smc91x.c
> @@ -114,7 +136,13 @@ static int smc91c96_gpmc_retime(void)
>       if (gpmc_cfg->flags & GPMC_MUX_ADD_DATA)
>               return 0;
>  
> -     return gpmc_cs_set_timings(gpmc_cfg->cs, &t);
> +     /* gpmc driver interface */
> +     if (gpmc_smc91x_cs_data.mem_size == 0x10) {
> +             gpmc_smc91x_cs_data.time_ctrl.type = has_period;
> +             gpmc_smc91x_cs_data.time_ctrl.timings = t;
> +             return 0;
> +     } else
> +             return gpmc_cs_set_timings(gpmc_cfg->cs, &t);
>  }
>  
>  /*

Here too we just need to care about the mainline kernel users
and convert them to use the new interface. No need to keep
gpmc_cs_set_timings around. The same applies for other similar
patches.

Regards,

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

Reply via email to