1
0
Fork 0
alistair23-linux/drivers/gpu/drm/amd/display/dc/dml/dcn21
Arnd Bergmann beda921dbc drm/amdgpu: display_mode_vba_21: remove uint typedef
The type definition for 'uint' clashes with the generic kernel
headers:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn21/display_mode_vba_21.c:43:22: error: redefinition of typedef 'uint' is a C11 feature [-Werror,-Wtypedef-redefinition]
include/linux/types.h:92:23: note: previous definition is here

Just remove this type and use plain 'unsigned int' consistently,
as it is already use almost everywhere in this file.

Fixes: b04641a3f4 ("drm/amd/display: Add Renoir DML")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-02 12:58:33 -05:00
..
display_mode_vba_21.c drm/amdgpu: display_mode_vba_21: remove uint typedef 2019-10-02 12:58:33 -05:00
display_mode_vba_21.h
display_rq_dlg_calc_21.c
display_rq_dlg_calc_21.h