mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
clk: renesas: cpg-mssr: Fix inverted debug check
commitbc4725d902upstream. The intention was to enable the checks if debugging is enabled, not disabled. Fixes:f793d1e517("clk: shmobile: Add new CPG/MSSR driver core") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
47e3472507
commit
629138cd28
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user