diff options
| author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-12-04 11:55:27 +0100 |
|---|---|---|
| committer | Zhi Wang <zhi.a.wang@intel.com> | 2022-01-12 02:52:37 -0500 |
| commit | 3f8bd465a6f083a4112d82c18f4a85c9052d2132 (patch) | |
| tree | 5bedc04d6380d23bfed799f012cd6af078b08eab /scripts/patch-kernel | |
| parent | 38bd13a0b151093f5f26c95ee106659008896995 (diff) | |
drm/i915/gvt: Constify vgpu_types
It is never modified, so make it const to allow the compiler to put it
in read-only memory. While at it, make name a const char*.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20211204105527.15741-10-rikard.falkeborn@gmail.com
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
