drm/radeon: Avoid externs & do not initialize globals to 0 in radeon_drv.c
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Sat, 15 Jul 2023 05:14:16 +0000 (10:44 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 17:36:47 +0000 (13:36 -0400)
commit803d411b31f2b55268bce2f8463563ba9405baee
tree78563cdc47e5c6f8c7747308bdab165e200601d4
parentc005a44f3a2afe8365fd73303992127532ef7e2b
drm/radeon: Avoid externs & do not initialize globals to 0 in radeon_drv.c

Fixes the following:

 - WARNING: externs should be avoided in .c files
 - ERROR: do not initialise globals to 0
 - WARNING: Missing a blank line after declarations

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_drv.h