Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346389
b: refs/heads/master
c: 3fd0043
h: refs/heads/master
i:
  346387: 2dad4b0
v: v3
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed Dec 18, 2012
1 parent 5313346 commit 28fccc8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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: 53c7a2fffd71787299d6c7a7107b233d37ad7284
refs/heads/master: 3fd00432df3c4ae3c54a10360634f6d3a4a787c4
2 changes: 1 addition & 1 deletion trunk/drivers/video/backlight/ili9320.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ int ili9320_write(struct ili9320 *ili, unsigned int reg, unsigned int value)
EXPORT_SYMBOL_GPL(ili9320_write);

int ili9320_write_regs(struct ili9320 *ili,
struct ili9320_reg *values,
const struct ili9320_reg *values,
int nr_values)
{
int index;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/backlight/ili9320.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ extern int ili9320_write(struct ili9320 *ili,
unsigned int reg, unsigned int value);

extern int ili9320_write_regs(struct ili9320 *ili,
struct ili9320_reg *values,
const struct ili9320_reg *values,
int nr_values);

/* Device probe */
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/video/backlight/vgg2432a4.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

/* Device initialisation sequences */

static struct ili9320_reg vgg_init1[] = {
static const struct ili9320_reg vgg_init1[] = {
{
.address = ILI9320_POWER1,
.value = ILI9320_POWER1_AP(0) | ILI9320_POWER1_BT(0),
Expand All @@ -43,7 +43,7 @@ static struct ili9320_reg vgg_init1[] = {
},
};

static struct ili9320_reg vgg_init2[] = {
static const struct ili9320_reg vgg_init2[] = {
{
.address = ILI9320_POWER1,
.value = (ILI9320_POWER1_AP(3) | ILI9320_POWER1_APE |
Expand All @@ -54,7 +54,7 @@ static struct ili9320_reg vgg_init2[] = {
}
};

static struct ili9320_reg vgg_gamma[] = {
static const struct ili9320_reg vgg_gamma[] = {
{
.address = ILI9320_GAMMA1,
.value = 0x0000,
Expand Down Expand Up @@ -89,7 +89,7 @@ static struct ili9320_reg vgg_gamma[] = {

};

static struct ili9320_reg vgg_init0[] = {
static const struct ili9320_reg vgg_init0[] = {
[0] = {
/* set direction and scan mode gate */
.address = ILI9320_DRIVER,
Expand Down

0 comments on commit 28fccc8

Please sign in to comment.