Skip to contentSkip to conversation

clk: microchip: fix typo in reference to a config option

PATCH Applied Lukas Bulwahn 3 participants 3 messages Feb 3 – Feb 5

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: microchip: fix typo in reference to a config option

From: Lukas Bulwahn <[email protected]>

Commit 026d70dcfe5d ("clk: microchip: core: allow driver to be compiled with COMPILE_TEST") introduces a typo when referring to a config option in an ifdef directive.

Fix this typo.

Fixes 026d70dcfe5d ("clk: microchip: core: allow driver to be compiled with COMPILE_TEST")
---
 drivers/clk/microchip/clk-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/microchip/clk-core.c +1 -1
index 509cdc060c34..b764ca059e68 100644
@@ -74,7 +74,7 @@
 /* SoC specific clock needed during SPLL clock rate switch */
 static struct clk_hw *pic32_sclk_hw;
 
-#ifdef CONFIG_MATCH_PIC32
+#ifdef CONFIG_MACH_PIC32
 /* add instruction pipeline delay while CPU clock is in-transition. */
 #define cpu_nop5()			\
 do {					\
Signature · 1 line
2.52.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Lukas Bulwahn

From: Lukas Bulwahn <[email protected]>

Commit 026d70dcfe5d ("clk: microchip: core: allow driver to be compiled with COMPILE_TEST") introduces a typo when referring to a config option in an ifdef directive.

Fix this typo.

Fixes 026d70dcfe5d ("clk: microchip: core: allow driver to be compiled with COMPILE_TEST")

Ugh... thanks for catching that.

maintainer Applied
#2 lore raw
In reply to Lukas Bulwahn
Quoted 29 lines · Lukas Bulwahn

From: Lukas Bulwahn <[email protected]>

Commit 026d70dcfe5d ("clk: microchip: core: allow driver to be compiled with COMPILE_TEST") introduces a typo when referring to a config option in an ifdef directive.

Fix this typo.

Fixes 026d70dcfe5d ("clk: microchip: core: allow driver to be compiled with COMPILE_TEST")
---
 drivers/clk/microchip/clk-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/microchip/clk-core.c +1 -1
index 509cdc060c34..b764ca059e68 100644
@@ -74,7 +74,7 @@
 /* SoC specific clock needed during SPLL clock rate switch */
 static struct clk_hw *pic32_sclk_hw;
 
-#ifdef CONFIG_MATCH_PIC32
+#ifdef CONFIG_MACH_PIC32
 /* add instruction pipeline delay while CPU clock is in-transition. */
 #define cpu_nop5()			\
 do {					\
Signature · 1 line
2.52.0

applied to mips-next
Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]