diff options
author | Michel Daenzer <michel@daenzer.net> | 2004-02-18 20:56:58 +0000 |
---|---|---|
committer | Michel Daenzer <michel@daenzer.net> | 2004-02-18 20:56:58 +0000 |
commit | 213247a4416b959738a658f2217d4d01ae9c1e67 (patch) | |
tree | 8f9d0f9ce47f3f2209e71bbeaceb566d87bd7632 | |
parent | 2b9c12ef83b8de5acba782918212f7fa250c9e45 (diff) |
Fix sisfb header location for 2.6 kernels
Submitted by: Andrew Morton
-rw-r--r-- | shared-core/sis_mm.c | 4 | ||||
-rw-r--r-- | shared/sis_mm.c | 4 |
2 files changed, 8 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 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 |