drm/i915: constify hotplug function vtable.
authorDave Airlie <airlied@redhat.com>
Tue, 28 Sep 2021 22:58:00 +0000 (01:58 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 29 Sep 2021 06:28:39 +0000 (09:28 +0300)
commitcd030c7c11a4afbcc99da4af535d4336e5540767
tree2ff3d92bad081e68ed96785dceaed7f09ded8a5c
parent1c55b1e063d0ecd466a6163c37af528bd0ab3f2b
drm/i915: constify hotplug function vtable.

Use a macro to avoid mistakes, this type of macro is only used
in a couple of places.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/af229c1e8ec894f177b344ab77b90e32c33428de.1632869550.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_hotplug.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c