[RFC PATCH] drm/panel: lcd_olinuxino_funcs can be static

kbuild test robot fengguang.wu at intel.com
Tue Jun 19 11:16:27 UTC 2018


Fixes: 17a867cdd048 ("drm/panel: Add support for Olimex LCD-OLinuXino panel")
Signed-off-by: kbuild test robot <fengguang.wu at intel.com>
---
 panel-olimex-lcd-olinuxino.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
index 0bc04ff..daa9ef5 100644
--- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
+++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
@@ -212,7 +212,7 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel)
 	return num;
 }
 
-struct drm_panel_funcs lcd_olinuxino_funcs = {
+static struct drm_panel_funcs lcd_olinuxino_funcs = {
 	.disable = lcd_olinuxino_disable,
 	.unprepare = lcd_olinuxino_unprepare,
 	.prepare = lcd_olinuxino_prepare,


More information about the dri-devel mailing list