summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2017-08-18 19:56:40 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-08-18 19:56:40 +0200
commit228b3811080e5f6a647f33b54d88f68a9b8eabbf (patch)
tree87f352ef5d07129a0f98b24cfef9419dc4885986 /drivers/video
parent74c1c8b3326a366d39aa74e1737a28d4cba151c8 (diff)
downloadlinux-228b3811080e5f6a647f33b54d88f68a9b8eabbf.tar.bz2
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/xilinxfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/xilinxfb.c b/drivers/video/fbdev/xilinxfb.c
index 0bda18e4bf9e..9531474acabc 100644
--- a/drivers/video/fbdev/xilinxfb.c
+++ b/drivers/video/fbdev/xilinxfb.c
@@ -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,