summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_prime.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-23 17:10:27 +0400
committerDave Airlie <airlied@redhat.com>2012-05-23 17:10:27 +0400
commit41ceeeb25d5be06660a040e2fc99d6405dfc07f8 (patch)
tree93fac497b9e891c80ec0a3be835896cb1308ad6c /drivers/gpu/drm/radeon/radeon_prime.c
parent6a101cb209e70308f2e1cb63820cd14a34058e37 (diff)
downloadlinux-41ceeeb25d5be06660a040e2fc99d6405dfc07f8.tar.xz
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/radeon/radeon_prime.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_prime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_prime.c b/drivers/gpu/drm/radeon/radeon_prime.c
index 24f51753c9aa..b8f835d8ecb4 100644
--- a/drivers/gpu/drm/radeon/radeon_prime.c
+++ b/drivers/gpu/drm/radeon/radeon_prime.c
@@ -85,7 +85,7 @@ static void radeon_gem_kunmap(struct dma_buf *dma_buf, unsigned long page_num, v
}
-struct dma_buf_ops radeon_dmabuf_ops = {
+const static struct dma_buf_ops radeon_dmabuf_ops = {
.map_dma_buf = radeon_gem_map_dma_buf,
.unmap_dma_buf = radeon_gem_unmap_dma_buf,
.release = radeon_gem_dmabuf_release,