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 <[email protected]> Cc: Matthew Brost <[email protected]> Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Francois Dugast <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit e2dc52f) Signed-off-by: Thomas Hellström <[email protected]>
1 parent 6613476 commit 3213b80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)