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

kbuild test robot fengguang.wu at intel.com
Fri Aug 3 16:47:16 UTC 2018


Fixes: fe3734f91d5e ("drm/panel: Add support for Truly NT35597 panel")
Signed-off-by: kbuild test robot <fengguang.wu at intel.com>
---
 panel-truly-nt35597.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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) */


More information about the dri-devel mailing list