Merge tag 'amd-drm-next-5.20-2022-07-05' of https://gitlab.freedesktop.org/agd5f...
[linux-block.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_mode.h
index 450d32ccd69dfe1fb3377a3ac54ea2af484df1f8..d788a00043a5caa4bfc54906450299bfc8941e87 100644 (file)
@@ -350,15 +350,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;