summaryrefslogtreecommitdiff
path: root/shared/sis_mm.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-03-03 21:16:36 +0000
committerIan Romanick <idr@us.ibm.com>2004-03-03 21:16:36 +0000
commit6bb28dade35ef35f5e677bb1d2c2107dc588750e (patch)
treebeb6af31957e04b2a06d42ade5c5203bb7aaa30f /shared/sis_mm.c
parent2b9c12ef83b8de5acba782918212f7fa250c9e45 (diff)
Obtained from: DRI trunk
Diffstat (limited to 'shared/sis_mm.c')
-rw-r--r--shared/sis_mm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/sis_mm.c b/shared/sis_mm.c
index b6ff069d..092096c4 100644
--- a/shared/sis_mm.c
+++ b/shared/sis_mm.c
@@ -34,8 +34,12 @@
#include "sis_drv.h"
#include "sis_ds.h"
#if defined(__linux__) && defined(CONFIG_FB_SIS)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+#include <video/sisfb.h>
+#else
#include <linux/sisfb.h>
#endif
+#endif
#define MAX_CONTEXT 100
#define VIDEO_TYPE 0