drm/i915/gvt: Constify intel_gvt_gtt_pte_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 4 Dec 2021 10:55:20 +0000 (11:55 +0100)
committerZhi Wang <zhi.a.wang@intel.com>
Wed, 12 Jan 2022 07:52:37 +0000 (02:52 -0500)
commit5512445c9b64a2fd78f37c41796745d72c02e9a3
treee206cab699f76cd4e5a7a0eeff93bba9dc5c590d
parentc41aadd26496db9c21deb612445801f3e44ee8b2
drm/i915/gvt: Constify intel_gvt_gtt_pte_ops

These are never modified, so make them const to allow the compiler to
put them in read-only memory.

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-3-rikard.falkeborn@gmail.com
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/gtt.c
drivers/gpu/drm/i915/gvt/gtt.h