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

kbuild test robot lkp at intel.com
Wed Feb 21 07:05:29 PST 2018


Fixes: dcfac3b68dfb ("drm/panel: Add Huarui LHR050H41 panel driver")
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
 panel-huarui-lhr050h41.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/panel/panel-huarui-lhr050h41.c b/drivers/gpu/drm/panel/panel-huarui-lhr050h41.c
index f73d484..f71030e 100644
--- a/drivers/gpu/drm/panel/panel-huarui-lhr050h41.c
+++ b/drivers/gpu/drm/panel/panel-huarui-lhr050h41.c
@@ -66,7 +66,7 @@ struct lhr050h41_instr {
 		},					\
 	}
 
-struct lhr050h41_instr lhr050h41_init[] = {
+static struct lhr050h41_instr lhr050h41_init[] = {
 	LHR050H41_SWITCH_PAGE_INSTR(3),
 	LHR050H41_COMMAND_INSTR(0x01, 0x00),
 	LHR050H41_COMMAND_INSTR(0x02, 0x00),



More information about the linux-arm-kernel mailing list