drm: plane: Make 'formats' parameter to drm_plane_init() const
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
687a040038
commit
22cd7c6258
|
@ -554,7 +554,7 @@ EXPORT_SYMBOL(drm_encoder_cleanup);
|
|||
int drm_plane_init(struct drm_device *dev, struct drm_plane *plane,
|
||||
unsigned long possible_crtcs,
|
||||
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);
|
||||
|
||||
|
|
|
@ -828,7 +828,7 @@ extern int drm_plane_init(struct drm_device *dev,
|
|||
struct drm_plane *plane,
|
||||
unsigned long possible_crtcs,
|
||||
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_encoder_cleanup(struct drm_encoder *encoder);
|
||||
|
|
Loading…
Reference in New Issue