* Tony Lindgren <[email protected]> [130920 10:46]:
> --- a/arch/arm/mach-omap2/pdata-quirks.c
> +++ b/arch/arm/mach-omap2/pdata-quirks.c
> +#if IS_ENABLED(CONFIG_WL12XX)
> +
> +static struct wl12xx_platform_data wl12xx __initdata;
> +
> +static void __init __used legacy_init_wl12xx(unsigned ref_clock,
> +                                          unsigned tcxo_clock,
> +                                          int gpio)
> +{
> +     int res;
> +
> +     wl12xx.board_ref_clock = ref_clock;
> +     wl12xx.board_tcxo_clock = tcxo_clock;
> +     wl12xx.irq = gpio_to_irq(gpio);
> +
> +     res = wl12xx_set_platform_data(&wl12xx);
> +     if (res) {
> +             pr_err("error setting wl12xx data: %d\n", res);
> +             return;
> +     }
> +}
> +#else
> +static inline void omap_init_wl12xx_of(void)
> +{
> +}
> +#endif
> +

This should be legacy_init_wl12xx(unsigned ref_clock,
unsigned tcxo_clock, int gpio) instead of just
omap_init_wl12xx_of(void).

I've updated the patch and pushed this series to
omap-for-v3.13/quirk.

Regards,

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