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>
This commit is contained in:
Родитель
c00e1d09e3
Коммит
84ac86fbbe
|
@ -306,7 +306,7 @@ static void vbox_primary_atomic_update(struct drm_plane *plane,
|
|||
plane->state->src_y >> 16);
|
||||
}
|
||||
|
||||
void vbox_primary_atomic_disable(struct drm_plane *plane,
|
||||
static void vbox_primary_atomic_disable(struct drm_plane *plane,
|
||||
struct drm_plane_state *old_state)
|
||||
{
|
||||
struct drm_crtc *crtc = old_state->crtc;
|
||||
|
@ -450,7 +450,7 @@ static void vbox_cursor_atomic_update(struct drm_plane *plane,
|
|||
mutex_unlock(&vbox->hw_mutex);
|
||||
}
|
||||
|
||||
void vbox_cursor_atomic_disable(struct drm_plane *plane,
|
||||
static void vbox_cursor_atomic_disable(struct drm_plane *plane,
|
||||
struct drm_plane_state *old_state)
|
||||
{
|
||||
struct vbox_private *vbox =
|
||||
|
|
Загрузка…
Ссылка в новой задаче