mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 03:40:04 +00:00
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: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Sean Paul <seanpaul@chromium.org>
This commit is contained in:
parent
7725936e9c
commit
a9853117d8
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ static void vgdev_atomic_commit_tail(struct drm_atomic_state *state)
|
||||||
drm_atomic_helper_cleanup_planes(dev, 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,
|
.atomic_commit_tail = vgdev_atomic_commit_tail,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue