summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-03-28 00:55:26 +0800
committerOded Gabbay <oded.gabbay@gmail.com>2018-04-24 12:05:27 +0300
commita4efd3a4e685df239805ebd57f546904d5821114 (patch)
tree28b4ff34f56798f53eab477428d590700a635bfd /drivers/gpu/drm/amd/amdkfd
parent6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff)
downloadlinux-a4efd3a4e685df239805ebd57f546904d5821114.tar.bz2
drm/amdkfd: kfd_dev_is_large_bar() can be static
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_chardev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
index cd679cf1fd30..fb5d997e4148 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
@@ -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;