Skip to content

Commit

Permalink
drm/xe/dmabuf: Make xe_dmabuf_ops static
Browse files Browse the repository at this point in the history
It is not referenced outside of the xe_dma_buf.c source file.

Fixes: dd08ebf ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240117134048.165425-2-thomas.hellstrom@linux.intel.com
  • Loading branch information
Thomas Hellström committed Jan 18, 2024
1 parent 85f3b79 commit e2dc52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/xe/xe_dma_buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ static int xe_dma_buf_begin_cpu_access(struct dma_buf *dma_buf,
return 0;
}

const struct dma_buf_ops xe_dmabuf_ops = {
static const struct dma_buf_ops xe_dmabuf_ops = {
.attach = xe_dma_buf_attach,
.detach = xe_dma_buf_detach,
.pin = xe_dma_buf_pin,
Expand Down

0 comments on commit e2dc52f

Please sign in to comment.