diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2005-07-03 18:07:03 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2005-07-03 18:07:03 +0000 |
commit | 04fea060023a539c6c6766ec184b59f32c97d474 (patch) | |
tree | 9c02925b15d08b9e1d52a3fe7a41a5dabbd75ee0 /linux-core/drmP.h | |
parent | d41af11ee30413f90064cfffb5687be92a28021c (diff) |
Simplify the sysfs code
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 7 |
1 files changed, 2 insertions, 5 deletions
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, |