summaryrefslogtreecommitdiffstats
path: root/src/loader/pci_id_driver_map.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-07-07 15:42:15 +0100
committerEmil Velikov <[email protected]>2015-07-22 16:35:25 +0100
commit1c328b8aa79b0644160082b7e9e02df18ab3ca48 (patch)
tree7e3c057ea39b0065bf0d45eefc767654ef99243c /src/loader/pci_id_driver_map.c
parent72c784347bf66b61385cb57bb666033e5234ba69 (diff)
loader: use HAVE_LIBDRM instead of ! __NOT_HAVE_DRM_H
Double negatives in English language are normally avoided, plus the former seems cleaner and more consistent. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/loader/pci_id_driver_map.c')
-rw-r--r--src/loader/pci_id_driver_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/pci_id_driver_map.c b/src/loader/pci_id_driver_map.c
index cb6f705acbd..3c4657fd014 100644
--- a/src/loader/pci_id_driver_map.c
+++ b/src/loader/pci_id_driver_map.c
@@ -23,7 +23,7 @@
int is_nouveau_vieux(int fd);
-#ifndef __NOT_HAVE_DRM_H
+#ifdef HAVE_LIBDRM
#include <xf86drm.h>
#include <nouveau_drm.h>