diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-08-09 09:24:20 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-08-09 09:24:20 +0000 |
commit | aa338ecaa3c02420e30094182d5a9d8372fbb92e (patch) | |
tree | 71d54f16ec331f72c5db027d5da805500e844708 /sys/dev/pci | |
parent | 48547e1688c86a482a9fe13c1d70db364b1fa141 (diff) |
don't #define DEBUG, breaks building kernel with option DEBUG
reported by 'mujo' on bugs@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/drm/drm_print.c | 2 |
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> |