|
@@ -769,7 +769,7 @@ static void nv17_tv_destroy(struct drm_encoder *encoder)
|
|
|
kfree(tv_enc);
|
|
|
}
|
|
|
|
|
|
-static struct drm_encoder_helper_funcs nv17_tv_helper_funcs = {
|
|
|
+static const struct drm_encoder_helper_funcs nv17_tv_helper_funcs = {
|
|
|
.dpms = nv17_tv_dpms,
|
|
|
.mode_fixup = nv17_tv_mode_fixup,
|
|
|
.prepare = nv17_tv_prepare,
|
|
@@ -778,14 +778,14 @@ static struct drm_encoder_helper_funcs nv17_tv_helper_funcs = {
|
|
|
.detect = nv17_tv_detect,
|
|
|
};
|
|
|
|
|
|
-static struct drm_encoder_slave_funcs nv17_tv_slave_funcs = {
|
|
|
+static const struct drm_encoder_slave_funcs nv17_tv_slave_funcs = {
|
|
|
.get_modes = nv17_tv_get_modes,
|
|
|
.mode_valid = nv17_tv_mode_valid,
|
|
|
.create_resources = nv17_tv_create_resources,
|
|
|
.set_property = nv17_tv_set_property,
|
|
|
};
|
|
|
|
|
|
-static struct drm_encoder_funcs nv17_tv_funcs = {
|
|
|
+static const struct drm_encoder_funcs nv17_tv_funcs = {
|
|
|
.destroy = nv17_tv_destroy,
|
|
|
};
|
|
|
|