[PATCH 04/26] clk: prima2: declare OF clock provider

Barry Song 21cnbao at gmail.com
Thu Sep 19 04:45:23 EDT 2013


> @@ -1124,3 +1106,4 @@ void __init sirfsoc_of_clk_init(void)
>
>         of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data);
>  }
> +CLK_OF_DECLARE(sirfsoc_clk, "sirf,prima2-clkc", sirfsoc_clk_init);

hi Sebastian,
what if the driver is compatible with multiple clk controllers and we
want to add another compatible string here except "sirf,prima2-clkc"?

-barry



More information about the linux-arm-kernel mailing list