aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/ili9320.h
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-12-17 16:00:54 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:16 -0800
commit3fd00432df3c4ae3c54a10360634f6d3a4a787c4 (patch)
treef447a7c3a172ffc4c9ef80212b0bbb815d21003b /drivers/video/backlight/ili9320.h
parentdrivers/video/backlight/tdo24m.c: add missing const (diff)
downloadlinux-dev-3fd00432df3c4ae3c54a10360634f6d3a4a787c4.tar.xz
linux-dev-3fd00432df3c4ae3c54a10360634f6d3a4a787c4.zip
drivers/video/backlight/vgg2432a4.c: add missing const
Add 'const' to static array that was missing it in its definition. Also, 'const' is added to ili9320_write_regs(), because it is called by vgg2432a4 driver. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight/ili9320.h')
-rw-r--r--drivers/video/backlight/ili9320.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/ili9320.h b/drivers/video/backlight/ili9320.h
index e388eca7cac5..e0db738f7bb9 100644
--- a/drivers/video/backlight/ili9320.h
+++ b/drivers/video/backlight/ili9320.h
@@ -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 */