2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/drivers/auxdisplay
Arvind Yadav 7b948f1377 auxdisplay: constify charlcd_ops.
charlcd_ops are not supposed to change at runtime. All functions
working with charlcd_ops provided by <misc/charlcd.h> work with
const charlcd_ops. So mark the non-const structs as const.

File size before:
   text	   data	    bss	    dec	    hex	filename
  12750	    560	    362	  13672	   3568	drivers/auxdisplay/panel.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
  12942	    368	    362	  13672	   3568	drivers/auxdisplay/panel.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-17 17:23:16 +02:00
..
arm-charlcd.c auxdisplay: Move arm-charlcd.c to drivers/auxdisplay folder 2017-04-08 17:48:20 +02:00
cfag12864b.c
cfag12864bfb.c framebuffer: Use fb_<level> 2013-10-29 12:53:07 +02:00
charlcd.c auxdisplay: charlcd: Add support for displays with more than two lines 2017-03-17 15:10:49 +09:00
hd44780.c auxdisplay: hd44780: Fix DT properties to include units of measurement 2017-04-08 17:48:19 +02:00
ht16k33.c auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data 2017-04-08 17:48:20 +02:00
img-ascii-lcd.c auxdisplay: img-ascii-lcd: Fix module autoload 2017-04-08 17:48:20 +02:00
Kconfig auxdisplay: Move arm-charlcd.c to drivers/auxdisplay folder 2017-04-08 17:48:20 +02:00
ks0108.c auxdisplay: ks0108: initialize local parport variable 2015-08-14 17:27:17 -07:00
Makefile auxdisplay: Move arm-charlcd.c to drivers/auxdisplay folder 2017-04-08 17:48:20 +02:00
panel.c auxdisplay: constify charlcd_ops. 2017-07-17 17:23:16 +02:00