Commit 00285be8 authored by Daniel Vetter's avatar Daniel Vetter

drm: Move drm_class to drm_internal.h

Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 8f1a2c8d
...@@ -71,6 +71,8 @@ int drm_authmagic(struct drm_device *dev, void *data, ...@@ -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); int drm_remove_magic(struct drm_master *master, drm_magic_t magic);
/* drm_sysfs.c */ /* drm_sysfs.c */
extern struct class *drm_class;
struct class *drm_sysfs_create(struct module *owner, char *name); struct class *drm_sysfs_create(struct module *owner, char *name);
void drm_sysfs_destroy(void); void drm_sysfs_destroy(void);
struct device *drm_sysfs_minor_alloc(struct drm_minor *minor); struct device *drm_sysfs_minor_alloc(struct drm_minor *minor);
......
...@@ -1052,8 +1052,6 @@ extern void drm_put_dev(struct drm_device *dev); ...@@ -1052,8 +1052,6 @@ extern void drm_put_dev(struct drm_device *dev);
extern void drm_unplug_dev(struct drm_device *dev); extern void drm_unplug_dev(struct drm_device *dev);
extern unsigned int drm_debug; extern unsigned int drm_debug;
extern struct class *drm_class;
/* Debugfs support */ /* Debugfs support */
#if defined(CONFIG_DEBUG_FS) #if defined(CONFIG_DEBUG_FS)
extern int drm_debugfs_init(struct drm_minor *minor, int minor_id, extern int drm_debugfs_init(struct drm_minor *minor, int minor_id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment