Fix sisfb header location for 2.6 kernels

Submitted by: Andrew Morton
main
Michel Daenzer 2004-02-18 20:56:58 +00:00
parent 2b9c12ef83
commit 213247a441
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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