diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-07-19 15:45:56 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-07-19 22:44:10 +0300 |
commit | a9853117d8413209ec70245f762e4503511deb2d (patch) | |
tree | 64b3a8af9821ac1affe0acf053601e9f7f8cf76d /drivers | |
parent | 7725936e9c45e597f4dbd173af390ec7155225e0 (diff) | |
download | linux-a9853117d8413209ec70245f762e4503511deb2d.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c index fdfc711c9a4d..4e192aa2d021 100644 --- a/drivers/gpu/drm/virtio/virtgpu_display.c +++ b/drivers/gpu/drm/virtio/virtgpu_display.c @@ -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, }; |