[Intel-gfx] [RFC PATCH] drm/i915/perf: i915_perf_mmap() can be static
kernel test robot
lkp at intel.com
Sat Jul 18 11:44:28 UTC 2020
Signed-off-by: kernel test robot <lkp at intel.com>
---
i915_perf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c
index e77582761a642..90535e38b91b9 100644
--- a/drivers/gpu/drm/i915/i915_perf.c
+++ b/drivers/gpu/drm/i915/i915_perf.c
@@ -3423,7 +3423,7 @@ static const struct vm_operations_struct vm_ops_oa = {
.fault = vm_fault_oa,
};
-int i915_perf_mmap(struct file *file, struct vm_area_struct *vma)
+static int i915_perf_mmap(struct file *file, struct vm_area_struct *vma)
{
struct i915_perf_stream *stream = file->private_data;
int len;
More information about the Intel-gfx
mailing list