From: Geert Uytterhoeven Date: Tue, 4 Oct 2016 13:10:58 +0000 (+0200) Subject: clk: renesas: cpg-mssr: Fix inverted debug check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=16845c1987dde5fd5ca9f04ffc53c289cc92c03d;p=openwrt%2Fstaging%2Fblogic.git clk: renesas: cpg-mssr: Fix inverted debug check The intention was to enable the checks if debugging is enabled, not disabled. Signed-off-by: Geert Uytterhoeven Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/renesas/renesas-cpg-mssr.c b/drivers/clk/renesas/renesas-cpg-mssr.c index e1365e7491ae..25c41cd9cdfc 100644 --- a/drivers/clk/renesas/renesas-cpg-mssr.c +++ b/drivers/clk/renesas/renesas-cpg-mssr.c @@ -33,9 +33,9 @@ #include "clk-div6.h" #ifdef DEBUG -#define WARN_DEBUG(x) do { } while (0) -#else #define WARN_DEBUG(x) WARN_ON(x) +#else +#define WARN_DEBUG(x) do { } while (0) #endif