diff mbox series

[RFC] drm/panel: panel_cmds_set_1[] can be static

Message ID 20180803164716.GA26485@lkp-g5 (mailing list archive)
State New, archived
Headers show
Series [RFC] drm/panel: panel_cmds_set_1[] can be static | expand

Commit Message

Fengguang Wu Aug. 3, 2018, 4:47 p.m. UTC
Fixes: fe3734f91d5e ("drm/panel: Add support for Truly NT35597 panel")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
 panel-truly-nt35597.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panel/panel-truly-nt35597.c b/drivers/gpu/drm/panel/panel-truly-nt35597.c
index e6c7662..f53dc8a 100644
--- a/drivers/gpu/drm/panel/panel-truly-nt35597.c
+++ b/drivers/gpu/drm/panel/panel-truly-nt35597.c
@@ -65,7 +65,7 @@  struct cmd_set {
 	u8 commands[MAX_LEN];
 };
 
-struct cmd_set panel_cmds_set_1[] = {
+static struct cmd_set panel_cmds_set_1[] = {
 	/* CMD2_P0 */
 	{ { 0xff, 0x20 } },
 	{ { 0xfb, 0x01 } },
@@ -204,12 +204,12 @@  struct cmd_set panel_cmds_set_1[] = {
 	{ { 0xFF, 0x10 } },
 };
 
-struct cmd_set panel_cmds_set_2[] = {
+static struct cmd_set panel_cmds_set_2[] = {
 	/* VBP+VSA=,VFP = 10H */
 	{ { 0x3B, 0x03, 0x0A, 0x0A } },
 };
 
-struct cmd_set panel_cmds_set_3[] = {
+static struct cmd_set panel_cmds_set_3[] = {
 	/* FTE on */
 	{ { 0x35, 0x00 } },
 	/* EN_BK =1(auto black) */