mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 09:46:51 +07:00
video: fbdev: xilinxfb: constify copied structure
Make const xilinx_fb_default_pdata structure that is only copied into other structure. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Soren Brinkmann <soren.brinkmann@xilinx.com>, [b.zolnierkie: split from a bigger patch] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
This commit is contained in:
parent
74c1c8b332
commit
228b381108
@ -100,7 +100,7 @@ struct xilinxfb_platform_data {
|
||||
/*
|
||||
* Default xilinxfb configuration
|
||||
*/
|
||||
static struct xilinxfb_platform_data xilinx_fb_default_pdata = {
|
||||
static const struct xilinxfb_platform_data xilinx_fb_default_pdata = {
|
||||
.xres = 640,
|
||||
.yres = 480,
|
||||
.xvirt = 1024,
|
||||
|
Loading…
Reference in New Issue
Block a user