kernel-hacking-2024-linux-s.../drivers/video/backlight
Bart Van Assche c338bfb5ec backlight: Declare backlight_types[] const
Since backlight_types[] isn't modified, let's declare it const.  That
was probably the intention of the author of commit bb7ca747f8
("backlight: add backlight type"), via which the "const char const *"
construct was introduced.  The duplicate const was detected by sparse.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-09-10 14:00:02 -07:00
..
88pm860x_bl.c
aat2870_bl.c drivers/video/backlight/aat2870_bl.c: fix setting max_current 2011-08-03 14:25:22 -10:00
adp5520_bl.c
adp8860_bl.c drivers/video/backlight/adp8860_bl.c: remove a redundant assignment for max_brightness 2011-07-25 20:57:08 -07:00
adp8870_bl.c backlight: fix module alias prefix for adp8870_bl 2011-08-25 16:25:34 -07:00
adx_bl.c
ams369fg06.c backlight: set backlight type and max_brightness before backlights are registered 2011-07-25 20:57:08 -07:00
apple_bl.c
atmel-pwm-bl.c
backlight.c backlight: Declare backlight_types[] const 2011-09-10 14:00:02 -07:00
corgi_lcd.c
cr_bllcd.c
da903x_bl.c
ep93xx_bl.c drivers/video/backlight/ep93xx_bl.c: add missing include of linux/module.h 2011-08-25 16:25:34 -07:00
generic_bl.c
hp680_bl.c
ili9320.c
ili9320.h
jornada720_bl.c
jornada720_lcd.c
kb3886_bl.c
Kconfig drivers/video/backlight/aat2870_bl.c: make it buildable as a module 2011-08-03 14:25:22 -10:00
l4f00242t03.c
lcd.c
ld9040.c backlight: set backlight type and max_brightness before backlights are registered 2011-07-25 20:57:08 -07:00
ld9040_gamma.h
lms283gf05.c
locomolcd.c
ltv350qv.c
ltv350qv.h
Makefile backlight: Add AAT2870 backlight driver 2011-07-31 23:28:26 +02:00
max8925_bl.c
omap1_bl.c
pcf50633-backlight.c
platform_lcd.c
progear_bl.c
pwm_bl.c backlight: add a callback 'notify_after' for backlight control 2011-08-25 16:25:34 -07:00
s6e63m0.c backlight: set backlight type and max_brightness before backlights are registered 2011-07-25 20:57:08 -07:00
s6e63m0_gamma.h
tdo24m.c
tosa_bl.c
tosa_lcd.c
vgg2432a4.c
wm831x_bl.c