Skip to content
  • Arnd Bergmann's avatar
    drm/amdgpu: display_mode_vba_21: remove uint typedef · beda921d
    Arnd Bergmann authored
    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: b04641a3
    
     ("drm/amd/display: Add Renoir DML")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    beda921d