]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: display_mode_vba_21: remove uint typedef
authorArnd Bergmann <arnd@arndb.de>
Wed, 2 Oct 2019 12:01:24 +0000 (14:01 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Oct 2019 17:58:33 +0000 (12:58 -0500)
commit846cf1638b57d087e4c863a32aa49bbbe1fd4523
tree52df9b4f6208680e7e449d95d93a623776ac3b7d
parent00ae019c69e2a92ddc2c45d9c46efa3c52db0476
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: 0979a3686c0f ("drm/amd/display: Add Renoir DML")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c