aboutsummaryrefslogtreecommitdiff
path: root/shared-core/sis_mm.c
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2004-02-18 20:56:58 +0000
committerMichel Daenzer <michel@daenzer.net>2004-02-18 20:56:58 +0000
commit213247a4416b959738a658f2217d4d01ae9c1e67 (patch)
tree8f9d0f9ce47f3f2209e71bbeaceb566d87bd7632 /shared-core/sis_mm.c
parent2b9c12ef83b8de5acba782918212f7fa250c9e45 (diff)
Fix sisfb header location for 2.6 kernels
Submitted by: Andrew Morton
Diffstat (limited to 'shared-core/sis_mm.c')
-rw-r--r--shared-core/sis_mm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/sis_mm.c b/shared-core/sis_mm.c
index b6ff069d..092096c4 100644
--- a/shared-core/sis_mm.c
+++ b/shared-core/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