drm/i915/gvt: Constify intel_gvt_irq_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 4 Dec 2021 10:55:21 +0000 (11:55 +0100)
committerZhi Wang <zhi.a.wang@intel.com>
Wed, 12 Jan 2022 07:52:37 +0000 (02:52 -0500)
commit1b277c892940af1d06c2433f3f3a39d4bd146c89
treecff3c8080324f89d6c706269aa4259ac8ec1cfca
parent5512445c9b64a2fd78f37c41796745d72c02e9a3
drm/i915/gvt: Constify intel_gvt_irq_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-4-rikard.falkeborn@gmail.com
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/interrupt.c
drivers/gpu/drm/i915/gvt/interrupt.h