diff options
Diffstat (limited to 'sys/dev/drm/sis_mm.c')
-rw-r--r-- | sys/dev/drm/sis_mm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/drm/sis_mm.c b/sys/dev/drm/sis_mm.c index 837e224..6f29974 100644 --- a/sys/dev/drm/sis_mm.c +++ b/sys/dev/drm/sis_mm.c @@ -35,8 +35,12 @@ #include "dev/drm/sis_drv.h" #include "dev/drm/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 |