From b6b270a2607088997a0ec74cb1d618f140a382f7 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 28 Jun 2005 08:03:33 +0000 Subject: 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. --- linux-core/drmP.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'linux-core/drmP.h') 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 #include -#include #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, -- cgit v1.2.3