nouveau: fix compile error with -DDEBUG on newer gcc
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>main
parent
05727548a1
commit
5ec177b398
|
@ -10,7 +10,7 @@
|
|||
#include "nouveau.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
drm_private uint32_t nouveau_debug;
|
||||
drm_private extern uint32_t nouveau_debug;
|
||||
#define dbg_on(lvl) (nouveau_debug & (1 << lvl))
|
||||
#define dbg(lvl, fmt, args...) do { \
|
||||
if (dbg_on((lvl))) \
|
||||
|
|
Loading…
Reference in New Issue