Christophe JAILLET b65bd7874b fbdev: mmp: Constify struct mmp_overlay_ops
'struct mmp_overlay_ops' is not modified in this driver.

Constifying this structure moves some data to a read-only section, so
increase overall security.

On a x86_64, with allmodconfig, as an example:
Before:
======
   text	   data	    bss	    dec	    hex	filename
  11798	    555	     16	  12369	   3051	drivers/video/fbdev/mmp/hw/mmp_ctrl.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
  11834	    507	     16	  12357	   3045	drivers/video/fbdev/mmp/hw/mmp_ctrl.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Helge Deller <deller@gmx.de>
2024-06-25 14:40:01 +02:00
..
2009-04-01 08:59:27 -07:00
2005-04-16 15:20:36 -07:00
2023-08-15 23:39:33 +02:00
2005-04-16 15:20:36 -07:00
2007-10-16 09:43:18 -07:00
2010-12-21 01:05:43 +09:00
2019-04-01 17:46:57 +02:00