]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/fbdev/omap/lcd_mipid.c: add const to lcd_panel structure
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 1 Aug 2017 15:20:39 +0000 (17:20 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 1 Aug 2017 15:20:39 +0000 (17:20 +0200)
commit8e763bc2b6e620cabcbc98acdd8929e2ac9a1c41
tree4460daeb36d1943790124207a2ae8970ea0963e9
parent4ba1e6643bff60674205b661df8caac0b6ffe9d8
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>
drivers/video/fbdev/omap/lcd_mipid.c