• Ye Bin's avatar
    drm/amdgpu: Fix invalid number of character '{' in amdgpu_acpi_init · 84900719
    Ye Bin authored
    Fix follow warning:
    Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c...
    [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
    of character '{' when these macros are defined: ''.
    Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: CONFIG_ACPI...
    [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
    of character '{' when these macros are defined: 'CONFIG_ACPI'.
    ......
    Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: CONFIG_X86...
    [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
    of character '{' when these macros are defined: 'CONFIG_X86'.
    Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: _X86_...
    [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
    of character '{' when these macros are defined: '_X86_'.
    Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: __linux__...
    [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
    of character '{' when these macros are defined: '__linux__'.
    
    Fixes: 97d798b2 ("drm/amdgpu: simplify ATIF backlight handling")
    Reported-by: default avatarHulk Robot <hulkci@huawei.com>
    Signed-off-by: default avatarYe Bin <yebin10@huawei.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    84900719
amdgpu_acpi.c 23.9 KB