<<snip>>
> +/**
> + * omap_timer_init - top level timer device initialization
> + *
> + * uses dedicated hwmod api to parse through hwmod database for
> + * given class names and then build and register the timer device.
> + */
> +static int __init omap2_dmtimer_device_init(void)
> +{
> + int ret = omap_hwmod_for_each_by_class("timer", omap2_timer_init,
> NULL);
> +
> + if (unlikely(ret))
> + pr_debug("%s: device registration FAILED\n", __func__);
> +
> + return ret;
> +}
> +arch_initcall(omap2_dmtimer_device_init);
While introducing this, calls to omap_dm_timer_init() should be
removed. Else, the init
will happen twice for dmtimer devices
> --
> 1.6.0.4
>
--
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