Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9853117 authored by Wei Yongjun's avatar Wei Yongjun Committed by Sean Paul
Browse files

drm/virtio: Fix non static symbol warning



Fixes the following sparse warning:

drivers/gpu/drm/virtio/virtgpu_display.c:349:37: warning:
  symbol 'virtio_mode_config_helpers' was not declared. Should it be static?

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
parent 7725936e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -346,7 +346,7 @@ static void vgdev_atomic_commit_tail(struct drm_atomic_state *state)
	drm_atomic_helper_cleanup_planes(dev, state);
}

struct drm_mode_config_helper_funcs virtio_mode_config_helpers = {
static struct drm_mode_config_helper_funcs virtio_mode_config_helpers = {
	.atomic_commit_tail = vgdev_atomic_commit_tail,
};