drm: Export symbols needed for the vmwgfx driver.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4bfd75cb08
commit
85bb0c377f
@ -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)
|
|||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user