Commit 22cd7c62 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Dave Airlie

drm: plane: Make 'formats' parameter to drm_plane_init() const

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 687a0400
...@@ -554,7 +554,7 @@ EXPORT_SYMBOL(drm_encoder_cleanup); ...@@ -554,7 +554,7 @@ EXPORT_SYMBOL(drm_encoder_cleanup);
int drm_plane_init(struct drm_device *dev, struct drm_plane *plane, int drm_plane_init(struct drm_device *dev, struct drm_plane *plane,
unsigned long possible_crtcs, unsigned long possible_crtcs,
const struct drm_plane_funcs *funcs, const struct drm_plane_funcs *funcs,
uint32_t *formats, uint32_t format_count) const uint32_t *formats, uint32_t format_count)
{ {
mutex_lock(&dev->mode_config.mutex); mutex_lock(&dev->mode_config.mutex);
......
...@@ -828,7 +828,7 @@ extern int drm_plane_init(struct drm_device *dev, ...@@ -828,7 +828,7 @@ extern int drm_plane_init(struct drm_device *dev,
struct drm_plane *plane, struct drm_plane *plane,
unsigned long possible_crtcs, unsigned long possible_crtcs,
const struct drm_plane_funcs *funcs, const struct drm_plane_funcs *funcs,
uint32_t *formats, uint32_t format_count); const uint32_t *formats, uint32_t format_count);
extern void drm_plane_cleanup(struct drm_plane *plane); extern void drm_plane_cleanup(struct drm_plane *plane);
extern void drm_encoder_cleanup(struct drm_encoder *encoder); extern void drm_encoder_cleanup(struct drm_encoder *encoder);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment