drm/vkms: vkms_driver can be static
authorkbuild test robot <lkp@intel.com>
Tue, 15 May 2018 11:30:52 +0000 (19:30 +0800)
committerGustavo Padovan <gustavo.padovan@collabora.com>
Thu, 5 Jul 2018 12:46:05 +0000 (09:46 -0300)
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
drivers/gpu/drm/vkms/vkms_drv.c

index b1df08ed23a0c181d61d22dd9c729291db9a7972..35517b09538ed80c7433ecd0ae43e58395074973 100644 (file)
@@ -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,