diff options
author | Julia Lawall <[email protected]> | 2020-01-01 08:43:25 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-01-15 17:31:48 +0100 |
commit | 3c3c56397d5840d0e33eda1707625ecfc4d265a2 (patch) | |
tree | fca559426d75dda62b42d8ee1efb18891ea8fa2b | |
parent | 93166f5f2e4dc593cff8ca77ef828ac6f148b0f3 (diff) |
video: sa1100fb: constify copied structure
The monspecs structure is only copied into another structure,
so make it const.
The opportunity for this change was found using Coccinelle.
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/video/fbdev/sa1100fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/sa1100fb.c b/drivers/video/fbdev/sa1100fb.c index 5bb653db0cec..2d285cc384cf 100644 --- a/drivers/video/fbdev/sa1100fb.c +++ b/drivers/video/fbdev/sa1100fb.c @@ -1053,7 +1053,7 @@ static int sa1100fb_map_video_memory(struct sa1100fb_info *fbi) } /* Fake monspecs to fill in fbinfo structure */ -static struct fb_monspecs monspecs = { +static const struct fb_monspecs monspecs = { .hfmin = 30000, .hfmax = 70000, .vfmin = 50, |