Commit 85bb0c37 authored by Thomas Hellstrom's avatar Thomas Hellstrom Committed by Dave Airlie

drm: Export symbols needed for the vmwgfx driver.

Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 4bfd75cb
...@@ -128,6 +128,7 @@ struct drm_master *drm_master_get(struct drm_master *master) ...@@ -128,6 +128,7 @@ struct drm_master *drm_master_get(struct drm_master *master)
kref_get(&master->refcount); kref_get(&master->refcount);
return master; return master;
} }
EXPORT_SYMBOL(drm_master_get);
static void drm_master_destroy(struct kref *kref) static void drm_master_destroy(struct kref *kref)
{ {
...@@ -170,6 +171,7 @@ void drm_master_put(struct drm_master **master) ...@@ -170,6 +171,7 @@ void drm_master_put(struct drm_master **master)
kref_put(&(*master)->refcount, drm_master_destroy); kref_put(&(*master)->refcount, drm_master_destroy);
*master = NULL; *master = NULL;
} }
EXPORT_SYMBOL(drm_master_put);
int drm_setmaster_ioctl(struct drm_device *dev, void *data, int drm_setmaster_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv) struct drm_file *file_priv)
......
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