|
@@ -1684,13 +1684,13 @@ static void mga_connector_destroy(struct drm_connector *connector)
|
|
kfree(connector);
|
|
kfree(connector);
|
|
}
|
|
}
|
|
|
|
|
|
-struct drm_connector_helper_funcs mga_vga_connector_helper_funcs = {
|
|
|
|
|
|
+static const struct drm_connector_helper_funcs mga_vga_connector_helper_funcs = {
|
|
.get_modes = mga_vga_get_modes,
|
|
.get_modes = mga_vga_get_modes,
|
|
.mode_valid = mga_vga_mode_valid,
|
|
.mode_valid = mga_vga_mode_valid,
|
|
.best_encoder = mga_connector_best_encoder,
|
|
.best_encoder = mga_connector_best_encoder,
|
|
};
|
|
};
|
|
|
|
|
|
-struct drm_connector_funcs mga_vga_connector_funcs = {
|
|
|
|
|
|
+static const struct drm_connector_funcs mga_vga_connector_funcs = {
|
|
.dpms = drm_helper_connector_dpms,
|
|
.dpms = drm_helper_connector_dpms,
|
|
.detect = mga_vga_detect,
|
|
.detect = mga_vga_detect,
|
|
.fill_modes = drm_helper_probe_single_connector_modes,
|
|
.fill_modes = drm_helper_probe_single_connector_modes,
|