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: e0f74ed463 ("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>
This commit is contained in:
parent
5e9ae5c470
commit
fa630c304b
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ unsigned long intel_gvt_get_device_type(struct intel_gvt *gvt)
|
|||
return 0;
|
||||
}
|
||||
|
||||
bool intel_gvt_match_device(struct intel_gvt *gvt,
|
||||
static bool intel_gvt_match_device(struct intel_gvt *gvt,
|
||||
unsigned long device)
|
||||
{
|
||||
return intel_gvt_get_device_type(gvt) & device;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue