mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 04:40:09 +01:00
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>
This commit is contained in:
parent
05727548a1
commit
5ec177b398
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue