Commit 46eb29b8 authored by Ran Sun's avatar Ran Sun Committed by Alex Deucher

drm/amdgpu: Clean up errors in ih_v6_0.c

Fix the following errors reported by checkpatch:

ERROR: trailing statements should be on next line
ERROR: that open brace { should be on the previous line
Signed-off-by: default avatarRan Sun <sunran001@208suo.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 08110c26
...@@ -494,7 +494,8 @@ static int ih_v6_0_self_irq(struct amdgpu_device *adev, ...@@ -494,7 +494,8 @@ static int ih_v6_0_self_irq(struct amdgpu_device *adev,
*adev->irq.ih1.wptr_cpu = wptr; *adev->irq.ih1.wptr_cpu = wptr;
schedule_work(&adev->irq.ih1_work); schedule_work(&adev->irq.ih1_work);
break; break;
default: break; default:
break;
} }
return 0; return 0;
} }
...@@ -759,8 +760,7 @@ static void ih_v6_0_set_interrupt_funcs(struct amdgpu_device *adev) ...@@ -759,8 +760,7 @@ static void ih_v6_0_set_interrupt_funcs(struct amdgpu_device *adev)
adev->irq.ih_funcs = &ih_v6_0_funcs; adev->irq.ih_funcs = &ih_v6_0_funcs;
} }
const struct amdgpu_ip_block_version ih_v6_0_ip_block = const struct amdgpu_ip_block_version ih_v6_0_ip_block = {
{
.type = AMD_IP_BLOCK_TYPE_IH, .type = AMD_IP_BLOCK_TYPE_IH,
.major = 6, .major = 6,
.minor = 0, .minor = 0,
......
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