summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_internal.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-10 12:43:59 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-12 15:28:14 +0200
commit00285be8ff2c07379d4809ed2750f8244f0c23fa (patch)
treef4dd98bf35edb3702c91f387e90c071c82064ce1 /drivers/gpu/drm/drm_internal.h
parent8f1a2c8dc0dc5c2842e08f304ebdd34b5ddb982c (diff)
drm: Move drm_class to drm_internal.h
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_internal.h')
-rw-r--r--drivers/gpu/drm/drm_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.h
index d6dc75534304..7e459bf38c26 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);