ARM: OMAP2+: clock: add low-level support for regmap
Some of the TI clock providers will be converted to use syscon, thus low-level regmap support is needed for the clock drivers also. This patch adds this support, which can be enabled for individual drivers in later patches. Signed-off-by: Tero Kristo <t-kristo@ti.com>
This commit is contained in:
@@ -361,7 +361,7 @@ int __init omap_cm_init(void)
|
||||
if (data->flags & CM_NO_CLOCKS)
|
||||
continue;
|
||||
|
||||
ret = omap2_clk_provider_init(np, data->index, data->mem);
|
||||
ret = omap2_clk_provider_init(np, data->index, NULL, data->mem);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user