From 36a257cfe9e45e7a2022f19100a193eb73e30d4b Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 23 Sep 2004 17:22:27 +0000 Subject: Remove 2.6 code that allow DRM major device number to be shared. We can add it back later if needed. Checked DRM on both 2.4 and 2.6 to ensure that it builds and runs. --- linux/drmP.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'linux/drmP.h') diff --git a/linux/drmP.h b/linux/drmP.h index f89db79c..7ed64535 100644 --- a/linux/drmP.h +++ b/linux/drmP.h @@ -56,9 +56,6 @@ #include /* For (un)lock_kernel */ #include #include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -#include -#endif #if defined(__alpha__) || defined(__powerpc__) #include /* For pte_wrprotect */ #endif @@ -697,7 +694,6 @@ typedef struct drm_global { drm_minor_t *minors; struct drm_sysfs_class *drm_class; struct proc_dir_entry *proc_root; - struct cdev drm_cdev; } drm_global_t; static __inline__ int drm_core_check_feature(struct drm_device *dev, int feature) -- cgit v1.2.3