Commit 0bd08049 authored by Matthew Auld's avatar Matthew Auld Committed by Chris Wilson
Browse files

drm/i915: add back static declaration



warning: symbol '__i915_gem_object_create_stolen' was not declared. Should it be static?
warning: symbol '_i915_gem_object_stolen_init' was not declared. Should it be static?

Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20210115101329.880667-1-matthew.auld@intel.com
parent 97d55396
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -621,7 +621,7 @@ static const struct drm_i915_gem_object_ops i915_gem_object_stolen_ops = {
	.release = i915_gem_object_release_stolen,
};

int __i915_gem_object_create_stolen(struct intel_memory_region *mem,
static int __i915_gem_object_create_stolen(struct intel_memory_region *mem,
					   struct drm_i915_gem_object *obj,
					   struct drm_mm_node *stolen)
{
@@ -646,7 +646,7 @@ int __i915_gem_object_create_stolen(struct intel_memory_region *mem,
	return 0;
}

int _i915_gem_object_stolen_init(struct intel_memory_region *mem,
static int _i915_gem_object_stolen_init(struct intel_memory_region *mem,
					struct drm_i915_gem_object *obj,
					resource_size_t size,
					unsigned int flags)