summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm.h b/linux/drm.h
index 9f561022..ac9f407a 100644
--- a/linux/drm.h
+++ b/linux/drm.h
@@ -45,7 +45,7 @@
#endif
#define XFREE86_VERSION(major,minor,patch,snap) \
- ((major << 16) | (minor < 8) | patch)
+ ((major << 16) | (minor << 8) | patch)
#ifndef CONFIG_XFREE86_VERSION
#define CONFIG_XFREE86_VERSION XFREE86_VERSION(4,1,0,0)