clk: si5351: Rename internal plls to avoid name collisions
authorSergej Sawazki <sergej@taudac.com>
Tue, 25 Jul 2017 21:21:02 +0000 (23:21 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 22 Dec 2017 02:09:20 +0000 (18:09 -0800)
This drivers probe fails due to a clock name collision if a clock named
'plla' or 'pllb' is already registered when registering this drivers
internal plls.

Fix it by renaming internal plls to avoid name collisions.

Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Sergej Sawazki <sergej@taudac.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-si5351.c

index 79b770f..841d9fe 100644 (file)
@@ -72,7 +72,7 @@ static const char * const si5351_input_names[] = {
        "xtal", "clkin"
 };
 static const char * const si5351_pll_names[] = {
-       "plla", "pllb", "vxco"
+       "si5351_plla", "si5351_pllb", "si5351_vxco"
 };
 static const char * const si5351_msynth_names[] = {
        "ms0", "ms1", "ms2", "ms3", "ms4", "ms5", "ms6", "ms7"