diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.h index d6dc755343045c73f7bcd20ebb1683ecd468df5d..7e459bf38c2673a1c3843c5b758b07226def4c9f 100644 --- a/drivers/gpu/drm/drm_internal.h +++ b/drivers/gpu/drm/drm_internal.h @@ -71,6 +71,8 @@ int drm_authmagic(struct drm_device *dev, void *data, int drm_remove_magic(struct drm_master *master, drm_magic_t magic); /* drm_sysfs.c */ +extern struct class *drm_class; + struct class *drm_sysfs_create(struct module *owner, char *name); void drm_sysfs_destroy(void); struct device *drm_sysfs_minor_alloc(struct drm_minor *minor); diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 0308214a6f8376c329d83ccf833b1681922984a0..b603cb42e347af24fcfd5050a0a2e27960f3965e 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -1052,8 +1052,6 @@ extern void drm_put_dev(struct drm_device *dev); extern void drm_unplug_dev(struct drm_device *dev); extern unsigned int drm_debug; -extern struct class *drm_class; - /* Debugfs support */ #if defined(CONFIG_DEBUG_FS) extern int drm_debugfs_init(struct drm_minor *minor, int minor_id,