Commit b3654d70 authored by Tero Kristo's avatar Tero Kristo

CLK: TI: gate: add composite interface clock to OMAP2 only build

Composite interface clock is needed by OMAP2, but it was only built
in for OMAP3. Fixed the conditional build flag checks for this.
Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
parent 61f25ca7
...@@ -185,7 +185,7 @@ of_ti_composite_no_wait_gate_clk_setup(struct device_node *node) ...@@ -185,7 +185,7 @@ of_ti_composite_no_wait_gate_clk_setup(struct device_node *node)
CLK_OF_DECLARE(ti_composite_no_wait_gate_clk, "ti,composite-no-wait-gate-clock", CLK_OF_DECLARE(ti_composite_no_wait_gate_clk, "ti,composite-no-wait-gate-clock",
of_ti_composite_no_wait_gate_clk_setup); of_ti_composite_no_wait_gate_clk_setup);
#ifdef CONFIG_ARCH_OMAP3 #if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
static void __init of_ti_composite_interface_clk_setup(struct device_node *node) static void __init of_ti_composite_interface_clk_setup(struct device_node *node)
{ {
_of_ti_composite_gate_clk_setup(node, &clkhwops_iclk_wait); _of_ti_composite_gate_clk_setup(node, &clkhwops_iclk_wait);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment