mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-06 02:24:14 +08:00
drm/i915/lmem: make intel_region_lmem_ops static
There are no users outside of intel_region_lmem.c. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20210112172246.11933-1-jani.nikula@intel.com
This commit is contained in:
parent
e24ece0872
commit
0dbfc19435
@ -95,7 +95,7 @@ region_lmem_init(struct intel_memory_region *mem)
|
||||
return ret;
|
||||
}
|
||||
|
||||
const struct intel_memory_region_ops intel_region_lmem_ops = {
|
||||
static const struct intel_memory_region_ops intel_region_lmem_ops = {
|
||||
.init = region_lmem_init,
|
||||
.release = region_lmem_release,
|
||||
.create_object = __i915_gem_lmem_object_create,
|
||||
|
@ -8,8 +8,6 @@
|
||||
|
||||
struct drm_i915_private;
|
||||
|
||||
extern const struct intel_memory_region_ops intel_region_lmem_ops;
|
||||
|
||||
struct intel_memory_region *
|
||||
intel_setup_fake_lmem(struct drm_i915_private *i915);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user