mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
drivers/video/fbdev/omap/lcd_mipid.c: add const to lcd_panel structure
Make lcd_panel structure const as it is only copied to some object. As the only usage of this structure is a copy operation, so it can be made const. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
This commit is contained in:
parent
c9742729b3
commit
a86d8d6798
1 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ static void mipid_cleanup(struct lcd_panel *panel)
|
|||
mipid_esd_stop_check(md);
|
||||
}
|
||||
|
||||
static struct lcd_panel mipid_panel = {
|
||||
static const struct lcd_panel mipid_panel = {
|
||||
.config = OMAP_LCDC_PANEL_TFT,
|
||||
|
||||
.bpp = 16,
|
||||
|
|
|
|||
Loading…
Reference in a new issue