diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2011-12-19 22:06:46 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-20 10:05:06 (GMT) |
commit | 22cd7c625837e520c94ffda7bc926396bbc4ba67 (patch) | |
tree | a331600b8a7f1e7030b05fdce21436478e48ab72 /drivers/gpu | |
parent | 687a040038fb92c764adbb349ca132226677b417 (diff) | |
download | linux-22cd7c625837e520c94ffda7bc926396bbc4ba67.tar.xz |
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index b98e491..80cfe1c 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -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); |