Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346387
b: refs/heads/master
c: c22e61b
h: refs/heads/master
i:
  346385: 167c772
  346383: 75a14e0
v: v3
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed Dec 18, 2012
1 parent 80f75f1 commit 2dad4b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5d6904babd4a57b1035e048f74fc5b12fc06d8f
refs/heads/master: c22e61b339146ed80eb0125f18d698883f99825a
6 changes: 3 additions & 3 deletions trunk/drivers/video/backlight/lms283gf05.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct lms283gf05_seq {
};

/* Magic sequences supplied by manufacturer, for details refer to datasheet */
static struct lms283gf05_seq disp_initseq[] = {
static const struct lms283gf05_seq disp_initseq[] = {
/* REG, VALUE, DELAY */
{ 0x07, 0x0000, 0 },
{ 0x13, 0x0000, 10 },
Expand Down Expand Up @@ -78,7 +78,7 @@ static struct lms283gf05_seq disp_initseq[] = {
{ 0x22, 0x0000, 0 }
};

static struct lms283gf05_seq disp_pdwnseq[] = {
static const struct lms283gf05_seq disp_pdwnseq[] = {
{ 0x07, 0x0016, 30 },

{ 0x07, 0x0004, 0 },
Expand All @@ -104,7 +104,7 @@ static void lms283gf05_reset(unsigned long gpio, bool inverted)
}

static void lms283gf05_toggle(struct spi_device *spi,
struct lms283gf05_seq *seq, int sz)
const struct lms283gf05_seq *seq, int sz)
{
char buf[3];
int i;
Expand Down

0 comments on commit 2dad4b0

Please sign in to comment.