Commit bc4725d9 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

clk: renesas: cpg-mssr: Fix inverted debug check

The intention was to enable the checks if debugging is enabled, not
disabled.

Fixes: f793d1e5 ("clk: shmobile: Add new CPG/MSSR driver core")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 30ad3cf0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment