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:
Tero Kristo
2015-02-06 16:00:32 +02:00
parent 219595b6ee
commit 80cbb224b7
5 changed files with 47 additions and 11 deletions

View File

@@ -798,7 +798,7 @@ int __init omap_prcm_init(void)
for_each_matching_node_and_match(np, omap_prcm_dt_match_table, &match) {
data = match->data;
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;
}