drm/i915: Add missing const to audio_rate_need_prog()
authorTakashi Iwai <tiwai@suse.de>
Wed, 30 Sep 2015 07:39:01 +0000 (09:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 30 Sep 2015 12:37:03 +0000 (14:37 +0200)
commit87f77eff710db012a994ee319b5627c26a7b2204
tree6ef9fa251347800d8fdd558b80af2c4c3cb72a94
parent7e8275c2f2bbb384e18af37066b8b2f32b7d092f
drm/i915: Add missing const to audio_rate_need_prog()

The lack of const leads to a compile warning after merging i915
upstream tree:
   drivers/gpu/drm/i915/intel_audio.c:147:13: note: expected 'struct drm_display_mode *' but argument is of type 'const struct drm_display_mode *'

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/gpu/drm/i915/intel_audio.c