drm/amdgpu: Clean up errors in tonga_ih.c
Subsystems (2)
PATCH 1/1 drm/amdgpu: Clean up errors in tonga_ih.c
Fix the following errors reported by checkpatch:
ERROR: that open brace { should be on the previous line
Signed-off-by Ran Sun <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/tonga_ih.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/tonga_ih.c +1 -2
@@ -493,8 +493,7 @@ static void tonga_ih_set_interrupt_funcs(struct amdgpu_device *adev) adev->irq.ih_funcs = &tonga_ih_funcs; } -const struct amdgpu_ip_block_version tonga_ih_ip_block = -{ +const struct amdgpu_ip_block_version tonga_ih_ip_block = { .type =AMD_IP_BLOCK_TYPE_IH , .major =3 , .minor =0 ,
Signature · 1 line
2.17.1
Alex Deucher
AppliedApplied. Thanks!
Quoted 27 lines · Ran Sun
Fix the following errors reported by checkpatch:
ERROR: that open brace { should be on the previous line
Signed-off-by Ran Sun <[email protected]>--- drivers/gpu/drm/amd/amdgpu/tonga_ih.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/tonga_ih.c +1
-3@@ -493,8 +493,7 @@ static void tonga_ih_set_interrupt_funcs(struct amdgpu_device *adev) adev->irq.ih_funcs = &tonga_ih_funcs; } -const struct amdgpu_ip_block_version tonga_ih_ip_block = -{ +const struct amdgpu_ip_block_version tonga_ih_ip_block = { .type =AMD_IP_BLOCK_TYPE_IH , .major =3 , .minor =0 , --2.17.1