diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-23 15:10:27 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-23 15:10:27 +0200 |
commit | 41ceeeb25d5be06660a040e2fc99d6405dfc07f8 (patch) | |
tree | 93fac497b9e891c80ec0a3be835896cb1308ad6c /drivers/gpu/drm/nouveau/nouveau_prime.c | |
parent | drm/i915: make some dmabuf things static (diff) | |
download | linux-41ceeeb25d5be06660a040e2fc99d6405dfc07f8.tar.xz linux-41ceeeb25d5be06660a040e2fc99d6405dfc07f8.zip |
drm/nouveau/radeon: add static const to the dma-buf ops.
Reported-by: wfg@linux.intel.com
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_prime.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_prime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_prime.c b/drivers/gpu/drm/nouveau/nouveau_prime.c index ed6b8465260a..c58aab7370c5 100644 --- a/drivers/gpu/drm/nouveau/nouveau_prime.c +++ b/drivers/gpu/drm/nouveau/nouveau_prime.c @@ -61,7 +61,7 @@ static void nouveau_gem_kunmap(struct dma_buf *dma_buf, unsigned long page_num, } -struct dma_buf_ops nouveau_dmabuf_ops = { +static const struct dma_buf_ops nouveau_dmabuf_ops = { .map_dma_buf = nouveau_gem_map_dma_buf, .unmap_dma_buf = nouveau_gem_unmap_dma_buf, .release = nouveau_gem_dmabuf_release, |