diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2018-03-27 18:55:26 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2018-04-24 11:05:27 +0200 |
commit | a4efd3a4e685df239805ebd57f546904d5821114 (patch) | |
tree | 28b4ff34f56798f53eab477428d590700a635bfd /drivers/gpu | |
parent | Linux 4.17-rc2 (diff) | |
download | linux-a4efd3a4e685df239805ebd57f546904d5821114.tar.xz linux-a4efd3a4e685df239805ebd57f546904d5821114.zip |
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')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 |
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; |