Files
Linux/include/linux
Vincent Stehlé a66e62ae56 fb: make fp_get_options name argument const
drm_get_connector_name now returns a const value, which causes the following
compilation warning:

  drivers/gpu/drm/drm_fb_helper.c: In function ‘drm_fb_helper_parse_command_line’:
  drivers/gpu/drm/drm_fb_helper.c:127:3: warning: passing argument 1 of ‘fb_get_options’ discards ‘const’ qualifier from pointer target type [enabled by default]
  In file included from drivers/gpu/drm/drm_fb_helper.c:35:0:
  include/linux/fb.h:627:12: note: expected ‘char *’ but argument is of type ‘const char *’

As fb_get_options uses its name argument as read only, make it const. This
fixes the aforementioned compilation warning.

Signed-off-by: Vincent Stehlé <[email protected]>
Cc: Jean-Christophe Plagniol-Villard <[email protected]>
Cc: Tomi Valkeinen <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: [email protected]
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
2013-06-27 16:53:30 +08:00
..
…
2013-05-17 14:31:05 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-05-07 19:46:02 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-29 15:40:23 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-05-10 14:37:17 +01:00
…
…
…
…
…
…
2013-05-01 16:36:22 +05:30
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-05-07 18:38:27 -07:00
…
…
…
…
2013-04-29 18:28:40 -07:00
…
…
…
…
…
…
…
…
…
2013-05-01 16:28:48 -04:00
…
…
…
…
2013-05-07 02:16:31 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
2013-05-06 13:07:33 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-30 17:04:06 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-30 17:04:00 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-29 18:28:44 -07:00
…
…
…
…
…
…
…
…
…
…
2013-05-04 14:47:26 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-29 15:54:28 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-29 15:54:28 -07:00
…
…
…
…
…
…
…
2013-04-12 10:26:23 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-09 14:13:29 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-30 15:50:12 +05:30
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-29 15:54:37 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…