drm: Constify struct drm_fb_helper_funcs

There's no need for this to be modifiable. Make it const so that it can
be put into the .rodata section.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Tento commit je obsažen v:
Thierry Reding
2014-06-27 17:19:23 +02:00
odevzdal Dave Airlie
rodič 50c3dc970a
revize 3a4938799d
17 změnil soubory, kde provedl 17 přidání a 17 odebrání

Zobrazit soubor

@@ -267,7 +267,7 @@ release:
return err;
}
static struct drm_fb_helper_funcs tegra_fb_helper_funcs = {
static const struct drm_fb_helper_funcs tegra_fb_helper_funcs = {
.fb_probe = tegra_fbdev_probe,
};