drm/vmwgfx: make vmw_pt_sys_placement static
Subsystems (3)
PATCH 1/1 drm/vmwgfx: make vmw_pt_sys_placement static
Converts the variable vmw_pt_sys_placement to static to
fix the following Sparse warning:
warning: symbol 'vmw_pt_sys_placement' was not declared. Should it be static?
Signed-off-by Wambui Karuga <[email protected]>
--- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c +1 -1
@@ -120,7 +120,7 @@ struct ttm_placement vmw_sys_placement = { .busy_placement = &sys_placement_flags }; -struct ttm_placement vmw_pt_sys_placement = { +static struct ttm_placement vmw_pt_sys_placement = { .num_placement =1 , .placement = &vmw_sys_placement_flags, .num_busy_placement =1 ,
Signature · 1 line
2.32.0