Commit 929bb8e2 authored by Isabella Basso's avatar Isabella Basso Committed by Alex Deucher

drm/amdgpu: fix amdgpu_ras_mca_query_error_status scope

This commit fixes the compile-time warning below:

 warning: no previous prototype for ‘amdgpu_ras_mca_query_error_status’
 [-Wmissing-prototypes]

Changes since v1:
- As suggested by Alexander Deucher:
  1. Make function static instead of adding prototype.
Signed-off-by: default avatarIsabella Basso <isabbasso@riseup.net>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2b36afc6
...@@ -867,7 +867,7 @@ static int amdgpu_ras_enable_all_features(struct amdgpu_device *adev, ...@@ -867,7 +867,7 @@ static int amdgpu_ras_enable_all_features(struct amdgpu_device *adev,
/* feature ctl end */ /* feature ctl end */
void amdgpu_ras_mca_query_error_status(struct amdgpu_device *adev, static void amdgpu_ras_mca_query_error_status(struct amdgpu_device *adev,
struct ras_common_if *ras_block, struct ras_common_if *ras_block,
struct ras_err_data *err_data) struct ras_err_data *err_data)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment