|
@@ -287,7 +287,7 @@ static void ast_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green,
|
|
*blue = ast_crtc->lut_b[regno] << 8;
|
|
*blue = ast_crtc->lut_b[regno] << 8;
|
|
}
|
|
}
|
|
|
|
|
|
-static struct drm_fb_helper_funcs ast_fb_helper_funcs = {
|
|
|
|
|
|
+static const struct drm_fb_helper_funcs ast_fb_helper_funcs = {
|
|
.gamma_set = ast_fb_gamma_set,
|
|
.gamma_set = ast_fb_gamma_set,
|
|
.gamma_get = ast_fb_gamma_get,
|
|
.gamma_get = ast_fb_gamma_get,
|
|
.fb_probe = astfb_create,
|
|
.fb_probe = astfb_create,
|