|
|
@@ -360,24 +360,24 @@ static void imx_tve_encoder_disable(struct drm_encoder *encoder)
|
|
|
tve_disable(tve);
|
|
|
}
|
|
|
|
|
|
-static struct drm_connector_funcs imx_tve_connector_funcs = {
|
|
|
+static const struct drm_connector_funcs imx_tve_connector_funcs = {
|
|
|
.dpms = drm_helper_connector_dpms,
|
|
|
.fill_modes = drm_helper_probe_single_connector_modes,
|
|
|
.detect = imx_tve_connector_detect,
|
|
|
.destroy = imx_drm_connector_destroy,
|
|
|
};
|
|
|
|
|
|
-static struct drm_connector_helper_funcs imx_tve_connector_helper_funcs = {
|
|
|
+static const struct drm_connector_helper_funcs imx_tve_connector_helper_funcs = {
|
|
|
.get_modes = imx_tve_connector_get_modes,
|
|
|
.best_encoder = imx_tve_connector_best_encoder,
|
|
|
.mode_valid = imx_tve_connector_mode_valid,
|
|
|
};
|
|
|
|
|
|
-static struct drm_encoder_funcs imx_tve_encoder_funcs = {
|
|
|
+static const struct drm_encoder_funcs imx_tve_encoder_funcs = {
|
|
|
.destroy = imx_drm_encoder_destroy,
|
|
|
};
|
|
|
|
|
|
-static struct drm_encoder_helper_funcs imx_tve_encoder_helper_funcs = {
|
|
|
+static const struct drm_encoder_helper_funcs imx_tve_encoder_helper_funcs = {
|
|
|
.dpms = imx_tve_encoder_dpms,
|
|
|
.mode_fixup = imx_tve_encoder_mode_fixup,
|
|
|
.prepare = imx_tve_encoder_prepare,
|