Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vboxvideo: make a couple of funcs static

Fix Sparse warnings:
drivers/staging/vboxvideo/vbox_mode.c:309:6: warning:
symbol 'vbox_primary_atomic_disable' was not declared. Should it be static?

drivers/staging/vboxvideo/vbox_mode.c:452:6: warning:
symbol 'vbox_cursor_atomic_disable' was not declared. Should it be static?

Signed-off-by: Craig Kewley <craigkewley@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Craig Kewley and committed by
Greg Kroah-Hartman
84ac86fb c00e1d09

+4 -4
+4 -4
drivers/staging/vboxvideo/vbox_mode.c
··· 306 306 plane->state->src_y >> 16); 307 307 } 308 308 309 - void vbox_primary_atomic_disable(struct drm_plane *plane, 310 - struct drm_plane_state *old_state) 309 + static void vbox_primary_atomic_disable(struct drm_plane *plane, 310 + struct drm_plane_state *old_state) 311 311 { 312 312 struct drm_crtc *crtc = old_state->crtc; 313 313 ··· 450 450 mutex_unlock(&vbox->hw_mutex); 451 451 } 452 452 453 - void vbox_cursor_atomic_disable(struct drm_plane *plane, 454 - struct drm_plane_state *old_state) 453 + static void vbox_cursor_atomic_disable(struct drm_plane *plane, 454 + struct drm_plane_state *old_state) 455 455 { 456 456 struct vbox_private *vbox = 457 457 container_of(plane->dev, struct vbox_private, ddev);