diff mbox

[RFC] drm/xen-front: xen_drm_front_platform_info can be static

Message ID 20180314000932.GA75578@lkp-sb-ep06 (mailing list archive)
State New, archived
Headers show

Commit Message

kernel test robot March 14, 2018, 12:09 a.m. UTC
Fixes: db81084f9084 ("drm/xen-front: Add support for Xen PV display frontend")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 xen_drm_front.c     |    2 +-
 xen_drm_front_drv.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/gpu/drm/xen/xen_drm_front.c b/drivers/gpu/drm/xen/xen_drm_front.c
index dbabdf9..f421d23 100644
--- a/drivers/gpu/drm/xen/xen_drm_front.c
+++ b/drivers/gpu/drm/xen/xen_drm_front.c
@@ -417,7 +417,7 @@  static int xen_drm_drv_remove(struct platform_device *pdev)
 	return xen_drm_front_drv_remove(pdev);
 }
 
-struct platform_device_info xen_drm_front_platform_info = {
+static struct platform_device_info xen_drm_front_platform_info = {
 	.name = XENDISPL_DRIVER_NAME,
 	.id = 0,
 	.num_res = 0,
diff --git a/drivers/gpu/drm/xen/xen_drm_front_drv.c b/drivers/gpu/drm/xen/xen_drm_front_drv.c
index 3edefa2..04ee389 100644
--- a/drivers/gpu/drm/xen/xen_drm_front_drv.c
+++ b/drivers/gpu/drm/xen/xen_drm_front_drv.c
@@ -122,7 +122,7 @@  static const struct vm_operations_struct xen_drm_vm_ops = {
 	.close          = drm_gem_vm_close,
 };
 
-struct drm_driver xen_drm_driver = {
+static struct drm_driver xen_drm_driver = {
 	.driver_features           = DRIVER_GEM | DRIVER_MODESET |
 				     DRIVER_PRIME | DRIVER_ATOMIC,
 	.lastclose                 = lastclose,