Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/include/vega10_ip_offset:Clean up errors in vega10_ip_offset.h

Fix the following errors reported by checkpatch:

ERROR: open brace '{' following enum go on the same line

Signed-off-by: chenxuebing <chenxb_99091@126.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

chenxuebing and committed by
Alex Deucher
3c642f34 577fa1be

+2 -4
+2 -4
drivers/gpu/drm/amd/include/vega10_ip_offset.h
··· 24 24 #define MAX_INSTANCE 5 25 25 #define MAX_SEGMENT 5 26 26 27 - struct IP_BASE_INSTANCE 28 - { 27 + struct IP_BASE_INSTANCE { 29 28 unsigned int segment[MAX_SEGMENT]; 30 29 }; 31 30 32 - struct IP_BASE 33 - { 31 + struct IP_BASE { 34 32 struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; 35 33 }; 36 34