summaryrefslogtreecommitdiff
path: root/linux/drmP.h
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-23 17:22:27 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-23 17:22:27 +0000
commit36a257cfe9e45e7a2022f19100a193eb73e30d4b (patch)
tree19a2e7f8b6711817a01305b4ab75994a75b7389c /linux/drmP.h
parent55c5e240892bb9673cce602e7deb323f29aa8031 (diff)
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.
Diffstat (limited to 'linux/drmP.h')
-rw-r--r--linux/drmP.h4
1 files changed, 0 insertions, 4 deletions
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 <linux/smp_lock.h> /* For (un)lock_kernel */
#include <linux/mm.h>
#include <linux/pagemap.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
-#include <linux/cdev.h>
-#endif
#if defined(__alpha__) || defined(__powerpc__)
#include <asm/pgtable.h> /* 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)