summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-05-31 11:11:28 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-06-23 15:58:15 +1000
commit3f0a68d8f8ba9d6c0cd9df948fbba90944c3da62 (patch)
tree8324d573e0ec5fc55e359e3d725bf8b9c7135bce /drivers/gpu/drm/nouveau/nouveau_drv.c
parent1562ffde94fc232e5b7d6d32f43abb3e25468dac (diff)
downloadtalos-op-linux-3f0a68d8f8ba9d6c0cd9df948fbba90944c3da62.tar.gz
talos-op-linux-3f0a68d8f8ba9d6c0cd9df948fbba90944c3da62.zip
drm/nouveau: allocate structure to store per-client data
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c
index 7e25f5a6db96..76cd287c7cec 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.c
@@ -393,7 +393,9 @@ static struct drm_driver driver = {
.firstopen = nouveau_firstopen,
.lastclose = nouveau_lastclose,
.unload = nouveau_unload,
+ .open = nouveau_open,
.preclose = nouveau_preclose,
+ .postclose = nouveau_postclose,
#if defined(CONFIG_DRM_NOUVEAU_DEBUG)
.debugfs_init = nouveau_debugfs_init,
.debugfs_cleanup = nouveau_debugfs_takedown,
OpenPOWER on IntegriCloud