summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2018-05-15 14:30:52 +0300
committerGustavo Padovan <gustavo.padovan@collabora.com>2018-07-05 15:46:05 +0300
commit41111ce17ee7277cb7451e8a21e319220afc130d (patch)
treeb8f7f47d3cbd122d0933c64505c4b266ff53905e
parent1c7c5fd916a0ff66501467f1e8e79d3ff8eca112 (diff)
downloadlinux-41111ce17ee7277cb7451e8a21e319220afc130d.tar.xz
drm/vkms: vkms_driver can be static
Fixes: 58d8108f080c ("drm/vkms: Introduce basic VKMS driver") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Haneen Mohammed <hamohammed.sa@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180515113052.GA111532@lkp-ib04
-rw-r--r--drivers/gpu/drm/vkms/vkms_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vkms/vkms_drv.c b/drivers/gpu/drm/vkms/vkms_drv.c
index b1df08ed23a0..35517b09538e 100644
--- a/drivers/gpu/drm/vkms/vkms_drv.c
+++ b/drivers/gpu/drm/vkms/vkms_drv.c
@@ -40,7 +40,7 @@ static void vkms_release(struct drm_device *dev)
drm_dev_fini(&vkms->drm);
}
-struct drm_driver vkms_driver = {
+static struct drm_driver vkms_driver = {
.driver_features = DRIVER_MODESET | DRIVER_ATOMIC | DRIVER_GEM,
.release = vkms_release,
.fops = &vkms_driver_fops,