mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04: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 <[email protected]> Cc: Michal Simek <[email protected]> Cc: Soren Brinkmann <[email protected]>, [b.zolnierkie: split from a bigger patch] Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
74c1c8b332
commit
228b381108
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue