提交 0d4d936f 编写于 作者: J Jani Nikula 提交者: Daniel Vetter

drm/armada: constify struct drm_encoder_helper_funcs pointer

Not to be modified.
Signed-off-by: NJani Nikula <jani.nikula@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 16bb079e
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#define ARMADA_CONNETOR_H #define ARMADA_CONNETOR_H
#define encoder_helper_funcs(encoder) \ #define encoder_helper_funcs(encoder) \
((struct drm_encoder_helper_funcs *)encoder->helper_private) ((const struct drm_encoder_helper_funcs *)encoder->helper_private)
struct armada_output_type { struct armada_output_type {
int connector_type; int connector_type;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册