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

It is never modified, so make it const to allow the compiler to put it
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-7-rikard.falkeborn@gmail.com
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c