drm/i915/gvt: Make intel_gvt_match_device() static
authorZhi Wang <zhi.a.wang@intel.com>
Wed, 27 Apr 2022 21:28:48 +0000 (17:28 -0400)
committerZhi Wang <zhi.a.wang@intel.com>
Thu, 28 Apr 2022 20:59:01 +0000 (16:59 -0400)
commitfa630c304b934bee63d437010fb3cbca55c8ee83
tree5b401b139918cc014ac101388a77f9e3b21d9beb
parent5e9ae5c47052e28a31fb4f55a6e735c28d4c3948
drm/i915/gvt: Make intel_gvt_match_device() static

After the refactor of GVT-g, the reference of intel_gvt_match_device()
only happens in handlers.c. Make it static to let the compiler be
happy.

Fixes: e0f74ed4634d ("i915/gvt: Separate the MMIO tracking table from GVT-g")
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Robert Beckett <bob.beckett@collabora.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220427212849.18109-1-zhi.a.wang@intel.com
Reviewed-by: Cc: Jani Nikula <jani.nikula@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c