drm/sun4i: Constify static structs
A number of static variables are not modified and can be made const to allow the compiler to put them in read-only memory. Signed-off-by:Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by:
Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20200804215337.54594-1-rikard.falkeborn@gmail.com
Showing
- drivers/gpu/drm/sun4i/sun4i_backend.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun4i_backend.c
- drivers/gpu/drm/sun4i/sun4i_framebuffer.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun4i_framebuffer.c
- drivers/gpu/drm/sun4i/sun4i_frontend.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun4i_frontend.c
- drivers/gpu/drm/sun4i/sun4i_lvds.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun4i_lvds.c
- drivers/gpu/drm/sun4i/sun4i_rgb.c 2 additions, 2 deletionsdrivers/gpu/drm/sun4i/sun4i_rgb.c
- drivers/gpu/drm/sun4i/sun4i_tcon.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun4i_tcon.c
- drivers/gpu/drm/sun4i/sun4i_tv.c 3 additions, 3 deletionsdrivers/gpu/drm/sun4i/sun4i_tv.c
- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
- drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun8i_hdmi_phy.c
- drivers/gpu/drm/sun4i/sun8i_mixer.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun8i_mixer.c
- drivers/gpu/drm/sun4i/sun8i_ui_layer.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun8i_ui_layer.c
- drivers/gpu/drm/sun4i/sun8i_vi_layer.c 1 addition, 1 deletiondrivers/gpu/drm/sun4i/sun8i_vi_layer.c
Loading
Please register or sign in to comment