diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-05-31 05:12:55 +0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 09:58:20 +0400 |
commit | f8656f0baa316d1f08e224248e0b40ade85a4e80 (patch) | |
tree | bfe0172312732f40f86c09c041f966da2f38122b | |
parent | 3f0a68d8f8ba9d6c0cd9df948fbba90944c3da62 (diff) | |
download | linux-f8656f0baa316d1f08e224248e0b40ade85a4e80.tar.xz |
drm/nouveau: use NULL file_priv for DRM-created channels
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 9aa96b9375ae..9965063beb69 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -449,8 +449,8 @@ nouveau_card_init_channel(struct drm_device *dev) struct drm_nouveau_private *dev_priv = dev->dev_private; int ret; - ret = nouveau_channel_alloc(dev, &dev_priv->channel, - (struct drm_file *)-2, NvDmaFB, NvDmaTT); + ret = nouveau_channel_alloc(dev, &dev_priv->channel, NULL, + NvDmaFB, NvDmaTT); if (ret) return ret; |