diff options
| author | Hans de Goede <[email protected]> | 2022-06-20 09:43:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-06-21 22:17:24 +0000 |
| commit | 83a3439ddb28e15afa66f52650cf3c1486ae6515 (patch) | |
| tree | 6fc4fc260233c1d7da4e2f8b781de974f08e5220 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
| parent | amd/display/dc: Fix COLOR_ENCODING and COLOR_RANGE doing nothing for DCN20+ (diff) | |
| download | kernel-83a3439ddb28e15afa66f52650cf3c1486ae6515.tar.gz kernel-83a3439ddb28e15afa66f52650cf3c1486ae6515.zip | |
drm/amdgpu: Drop CONFIG_BACKLIGHT_CLASS_DEVICE ifdefs
The DRM_AMDGPU Kconfig code contains:
select BACKLIGHT_CLASS_DEVICE
So the condition these ifdefs test for is always true, drop them.
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index f80b4838cea1..dbe2904e015b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h @@ -349,15 +349,11 @@ struct amdgpu_mode_info { #define AMDGPU_MAX_BL_LEVEL 0xFF -#if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) || defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE) - struct amdgpu_backlight_privdata { struct amdgpu_encoder *encoder; uint8_t negative; }; -#endif - struct amdgpu_atom_ss { uint16_t percentage; uint16_t percentage_divider; |
