]> git.baikalelectronics.ru Git - kernel.git/commit
drm: avoid warning in drm_load_edid_firmware()
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 10 Jul 2013 21:21:46 +0000 (14:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 10 Jul 2013 21:21:46 +0000 (14:21 -0700)
commit4f51bba5f89e2209059ea000ffb79e5a41351cf2
tree27ac5d1e7de340c37223e8b35e44d5c3583f8ef0
parentc3bab92256b1f8c21f25f4a7772b720abd818926
drm: avoid warning in drm_load_edid_firmware()

Use "const char *" instead of "char *" in order to avoid this warning:

  drivers/gpu/drm/drm_edid_load.c: In function ‘drm_load_edid_firmware’:
  drivers/gpu/drm/drm_edid_load.c:245:25: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/drm_edid_load.c