drm/i915/gvt: give the cmd parser cmd_info a const treatment
authorJani Nikula <jani.nikula@intel.com>
Tue, 8 Jan 2019 14:12:05 +0000 (16:12 +0200)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 10 Jan 2019 03:29:02 +0000 (11:29 +0800)
commitb007065a0aebfba859cecbc23271542b04784567
treee29df0ef5a7223213f03288823f5a092f63a90fd
parented8cce30163f7b39cbca9c214a17789e7d516ff3
drm/i915/gvt: give the cmd parser cmd_info a const treatment

It doesn't need to be changed, make it const. The string literals should
anyway be referred to as const data.

The following gets moved to rodata section:

0000000000000080 l     O .rodata 0000000000001c00 cmd_info

Reviewed-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c
drivers/gpu/drm/i915/gvt/trace.h