mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 03:49:57 -04:00
drm/amdgpu: label internally used symbols as static
Used sparse(make C=1) to find these loose ends. v2: removed unwanted extra line Signed-off-by: Nirmoy Das <nirmoy.das@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -515,12 +515,12 @@ void amdgpu_detect_virtualization(struct amdgpu_device *adev)
|
||||
}
|
||||
}
|
||||
|
||||
bool amdgpu_virt_access_debugfs_is_mmio(struct amdgpu_device *adev)
|
||||
static bool amdgpu_virt_access_debugfs_is_mmio(struct amdgpu_device *adev)
|
||||
{
|
||||
return amdgpu_sriov_is_debug(adev) ? true : false;
|
||||
}
|
||||
|
||||
bool amdgpu_virt_access_debugfs_is_kiq(struct amdgpu_device *adev)
|
||||
static bool amdgpu_virt_access_debugfs_is_kiq(struct amdgpu_device *adev)
|
||||
{
|
||||
return amdgpu_sriov_is_normal(adev) ? true : false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user