Skip to content

Commit 46eb29b

Browse files
Ran Sunalexdeucher
authored andcommitted
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: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 08110c2 commit 46eb29b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/amd/amdgpu/ih_v6_0.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,8 @@ static int ih_v6_0_self_irq(struct amdgpu_device *adev,
494494
*adev->irq.ih1.wptr_cpu = wptr;
495495
schedule_work(&adev->irq.ih1_work);
496496
break;
497-
default: break;
497+
default:
498+
break;
498499
}
499500
return 0;
500501
}
@@ -759,8 +760,7 @@ static void ih_v6_0_set_interrupt_funcs(struct amdgpu_device *adev)
759760
adev->irq.ih_funcs = &ih_v6_0_funcs;
760761
}
761762

762-
const struct amdgpu_ip_block_version ih_v6_0_ip_block =
763-
{
763+
const struct amdgpu_ip_block_version ih_v6_0_ip_block = {
764764
.type = AMD_IP_BLOCK_TYPE_IH,
765765
.major = 6,
766766
.minor = 0,

0 commit comments

Comments
 (0)