From 04fea060023a539c6c6766ec184b59f32c97d474 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Sun, 3 Jul 2005 18:07:03 +0000 Subject: Simplify the sysfs code --- linux-core/drmP.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'linux-core/drmP.h') diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 99e66597..ba289968 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -988,11 +988,8 @@ extern struct drm_sysfs_class *drm_sysfs_create(struct module *owner, char *name); extern void drm_sysfs_destroy(struct drm_sysfs_class *cs); extern struct class_device *drm_sysfs_device_add(struct drm_sysfs_class *cs, - drm_head_t * head, - dev_t dev, - struct device *device, - const char *fmt, ...); -extern void drm_sysfs_device_remove(dev_t dev); + drm_head_t * head); +extern void drm_sysfs_device_remove(struct class_device *class_dev); /* Inline replacements for DRM_IOREMAP macros */ static __inline__ void drm_core_ioremap(struct drm_map *map, -- cgit v1.2.3