diff options
| author | Bart Van Assche <[email protected]> | 2011-09-10 18:13:01 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-09-10 21:00:02 +0000 |
| commit | c338bfb5ecf6c36b2112479691d69db4c2b5a78a (patch) | |
| tree | 8be90102bb2e3db8eb30fa23a9d271ce1c5183dc /lib/debugobjects.c | |
| parent | Merge branch 'for-linus' of git://neil.brown.name/md (diff) | |
| download | kernel-c338bfb5ecf6c36b2112479691d69db4c2b5a78a.tar.gz kernel-c338bfb5ecf6c36b2112479691d69db4c2b5a78a.zip | |
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 bb7ca747f8d6
("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 <[email protected]>
Cc: Matthew Garrett <[email protected]>
Cc: Richard Purdie <[email protected]>
Cc: Florian Tobias Schandinat <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
