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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: fe3734f91d5e ("drm/panel: Add support for Truly NT35597 panel")
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
---
 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) */
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux