summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-06-28 08:03:33 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-06-28 08:03:33 +0000
commitb6b270a2607088997a0ec74cb1d618f140a382f7 (patch)
tree04bad1e8ba035c41857b9fa0a993d9d26580a0fc /linux-core/drmP.h
parent75ba453365380851d3297a9d553302021af923b2 (diff)
Given that BenH says using the sysdev approach for DRM is bogus, I'll yank
the code for it, rather than introducing something that isn't going to work 100% of the time.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index f38c57d4..ff2af8cf 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -80,7 +80,6 @@
#endif
#include <linux/poll.h>
#include <asm/pgalloc.h>
-#include <linux/sysdev.h>
#include "drm.h"
#define __OS_HAS_AGP (defined(CONFIG_AGP) || (defined(CONFIG_AGP_MODULE) && defined(MODULE)))
@@ -542,7 +541,6 @@ struct drm_driver {
int new);
int (*kernel_context_switch_unlock) (struct drm_device * dev);
int (*vblank_wait) (struct drm_device * dev, unsigned int *sequence);
- int (*power) (struct drm_device * dev, unsigned int state);
/**
* Called by \c drm_device_is_agp. Typically used to determine if a
@@ -722,8 +720,6 @@ typedef struct drm_device {
struct drm_driver *driver;
drm_local_map_t *agp_buffer_map;
drm_head_t primary; /**< primary screen head */
-
- struct sys_device sysdev; /**< Power Management device structure */
} drm_device_t;
static __inline__ int drm_core_check_feature(struct drm_device *dev,