From: Geert Uytterhoeven Date: Mon, 3 Oct 2016 11:03:38 +0000 (+0200) Subject: clk: renesas: cpg-mssr: Fix inverted debug check X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bc4725d9029e2c8205fbaf1105e193d1c4e463bb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git clk: renesas: cpg-mssr: Fix inverted debug check The intention was to enable the checks if debugging is enabled, not disabled. Fixes: f793d1e51705b276 ("clk: shmobile: Add new CPG/MSSR driver core") Signed-off-by: Geert Uytterhoeven --- diff --git a/drivers/clk/renesas/renesas-cpg-mssr.c b/drivers/clk/renesas/renesas-cpg-mssr.c index a1d5b7431ec4..057bb8759e38 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