Skip to content
Commit b17639c7 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Zhi Wang
Browse files

drm/i915/gvt: Constify formats



These are never modified, so make them const to allow the compiler to
put them in read-only memory. WHile at it, make the description const
char* since it is never modified.

Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: default avatarZhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20211204105527.15741-8-rikard.falkeborn@gmail.com


Reviewed-by: default avatarZhi Wang <zhi.a.wang@intel.com>
parent 0b782e66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment