Skip to content

Commit 3213b80

Browse files
author
Thomas Hellström
committed
drm/xe/dmabuf: Make xe_dmabuf_ops static
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 (cherry picked from commit e2dc52f) Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
1 parent 6613476 commit 3213b80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/xe/xe_dma_buf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ static int xe_dma_buf_begin_cpu_access(struct dma_buf *dma_buf,
175175
return 0;
176176
}
177177

178-
const struct dma_buf_ops xe_dmabuf_ops = {
178+
static const struct dma_buf_ops xe_dmabuf_ops = {
179179
.attach = xe_dma_buf_attach,
180180
.detach = xe_dma_buf_detach,
181181
.pin = xe_dma_buf_pin,

0 commit comments

Comments
 (0)