summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Dirsch <sndirsch@suse.de>2010-10-08 17:48:38 +0200
committerMatthias Hopf <mhopf@suse.de>2010-10-12 12:30:41 +0200
commitd2bc2212f8be746e697a65555d6d83bc66d9ce43 (patch)
tree520819fdb27b8ffdc74627e1a0cf296a222ddc0c
parent5472359d6860af655a3c286d30558540376c9fdb (diff)
Make driver compile for 1.6 Xserver series again. Part deux.
Signed-off-by: Matthias Hopf <mhopf@suse.de> Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 6f23cdd8..800e17ff 100644
--- a/src/common.h
+++ b/src/common.h
@@ -172,6 +172,11 @@ static inline void memcpy_volatile(volatile void *dst, const void *src,
#define PIPE_NAME(n) ('A' + (n))
+/* remain compatible to xorg-server 1.6 */
+#ifndef MONITOR_EDID_COMPLETE_RAWDATA
+#define MONITOR_EDID_COMPLETE_RAWDATA EDID_COMPLETE_RAWDATA
+#endif
+
struct pci_device *
intel_host_bridge (void);