diff options
-rw-r--r-- | drivers/gpu/drm/mgag200/mgag200_mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c b/drivers/gpu/drm/mgag200/mgag200_mode.c index 31802128dfbb..19c18b7af28a 100644 --- a/drivers/gpu/drm/mgag200/mgag200_mode.c +++ b/drivers/gpu/drm/mgag200/mgag200_mode.c | |||
@@ -1684,13 +1684,13 @@ static void mga_connector_destroy(struct drm_connector *connector) | |||
1684 | kfree(connector); | 1684 | kfree(connector); |
1685 | } | 1685 | } |
1686 | 1686 | ||
1687 | struct drm_connector_helper_funcs mga_vga_connector_helper_funcs = { | 1687 | static const struct drm_connector_helper_funcs mga_vga_connector_helper_funcs = { |
1688 | .get_modes = mga_vga_get_modes, | 1688 | .get_modes = mga_vga_get_modes, |
1689 | .mode_valid = mga_vga_mode_valid, | 1689 | .mode_valid = mga_vga_mode_valid, |
1690 | .best_encoder = mga_connector_best_encoder, | 1690 | .best_encoder = mga_connector_best_encoder, |
1691 | }; | 1691 | }; |
1692 | 1692 | ||
1693 | struct drm_connector_funcs mga_vga_connector_funcs = { | 1693 | static const struct drm_connector_funcs mga_vga_connector_funcs = { |
1694 | .dpms = drm_helper_connector_dpms, | 1694 | .dpms = drm_helper_connector_dpms, |
1695 | .detect = mga_vga_detect, | 1695 | .detect = mga_vga_detect, |
1696 | .fill_modes = drm_helper_probe_single_connector_modes, | 1696 | .fill_modes = drm_helper_probe_single_connector_modes, |