OSDN Git Service

drm/gma500: Constify static structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sun, 30 Aug 2020 21:17:41 +0000 (23:17 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Sep 2020 13:30:27 +0000 (15:30 +0200)
commitc08503ec03dbe338c01ee4867b6dea026a78f6d4
treee4113bb0d9f883b12e2cc5bdebe11e8d62b0ae2a
parent8445e2c54c257e92084a451a0f20d6a7f3f9fa34
drm/gma500: Constify static structs

The only usage of these is to assign their address to the fbops field in
the fb_info struct, which is a const pointer. Make them const to allow
the compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200830211741.17326-1-rikard.falkeborn@gmail.com
drivers/gpu/drm/gma500/framebuffer.c