drm/amdkfd: kfd_dev_is_large_bar() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Tue, 27 Mar 2018 16:55:26 +0000 (00:55 +0800)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 24 Apr 2018 09:05:27 +0000 (12:05 +0300)
Fixes: 5ec7e02854b3 ("drm/amdkfd: Add ioctls for GPUVM memory management")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c

index cd679cf1fd308fa5e436c6691399351e0f2f0c71..fb5d997e41483926da3f23547acda1f4b5ef92c3 100644 (file)
@@ -1147,7 +1147,7 @@ err_unlock:
        return ret;
 }
 
-bool kfd_dev_is_large_bar(struct kfd_dev *dev)
+static bool kfd_dev_is_large_bar(struct kfd_dev *dev)
 {
        struct kfd_local_mem_info mem_info;