diff options
author | Julia Lawall <[email protected]> | 2017-08-18 19:56:40 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2017-08-18 19:56:40 +0200 |
commit | 228b3811080e5f6a647f33b54d88f68a9b8eabbf (patch) | |
tree | 87f352ef5d07129a0f98b24cfef9419dc4885986 | |
parent | 74c1c8b3326a366d39aa74e1737a28d4cba151c8 (diff) |
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]>
-rw-r--r-- | drivers/video/fbdev/xilinxfb.c | 2 |
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, |