aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/backlight/lms283gf05.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/backlight/lms283gf05.c b/drivers/video/backlight/lms283gf05.c
index b7ad0d526bf7..13e24d52887c 100644
--- a/drivers/video/backlight/lms283gf05.c
+++ b/drivers/video/backlight/lms283gf05.c
@@ -31,7 +31,7 @@ struct lms283gf05_seq {
31}; 31};
32 32
33/* Magic sequences supplied by manufacturer, for details refer to datasheet */ 33/* Magic sequences supplied by manufacturer, for details refer to datasheet */
34static struct lms283gf05_seq disp_initseq[] = { 34static const struct lms283gf05_seq disp_initseq[] = {
35 /* REG, VALUE, DELAY */ 35 /* REG, VALUE, DELAY */
36 { 0x07, 0x0000, 0 }, 36 { 0x07, 0x0000, 0 },
37 { 0x13, 0x0000, 10 }, 37 { 0x13, 0x0000, 10 },
@@ -78,7 +78,7 @@ static struct lms283gf05_seq disp_initseq[] = {
78 { 0x22, 0x0000, 0 } 78 { 0x22, 0x0000, 0 }
79}; 79};
80 80
81static struct lms283gf05_seq disp_pdwnseq[] = { 81static const struct lms283gf05_seq disp_pdwnseq[] = {
82 { 0x07, 0x0016, 30 }, 82 { 0x07, 0x0016, 30 },
83 83
84 { 0x07, 0x0004, 0 }, 84 { 0x07, 0x0004, 0 },
@@ -104,7 +104,7 @@ static void lms283gf05_reset(unsigned long gpio, bool inverted)
104} 104}
105 105
106static void lms283gf05_toggle(struct spi_device *spi, 106static void lms283gf05_toggle(struct spi_device *spi,
107 struct lms283gf05_seq *seq, int sz) 107 const struct lms283gf05_seq *seq, int sz)
108{ 108{
109 char buf[3]; 109 char buf[3];
110 int i; 110 int i;