summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/drm_print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drm_print.c b/sys/dev/pci/drm/drm_print.c
index 3f9daf04aab..0ff2dc66c44 100644
--- a/sys/dev/pci/drm/drm_print.c
+++ b/sys/dev/pci/drm/drm_print.c
@@ -23,7 +23,9 @@
* Rob Clark <robdclark@gmail.com>
*/
+#ifdef __linux__
#define DEBUG /* for pr_debug() */
+#endif
#include <sys/stdarg.h>
#include <linux/seq_file.h>