]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita26d06748b05b84b2df29c999a3fc079277f77db
tree6ef9fa251347800d8fdd558b80af2c4c3cb72a94
parent75ce316f1af91016b5eb6736a021d867af32f3f4
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