hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
....@@ -23,13 +23,19 @@
2323 * Authors: Dave Airlie
2424 * Alex Deucher
2525 */
26
-#include <drm/drmP.h>
26
+
27
+#include <linux/backlight.h>
28
+#include <linux/pci.h>
29
+
2730 #include <drm/drm_crtc_helper.h>
31
+#include <drm/drm_device.h>
32
+#include <drm/drm_file.h>
33
+#include <drm/drm_util.h>
2834 #include <drm/radeon_drm.h>
35
+
2936 #include "radeon.h"
3037 #include "radeon_asic.h"
3138 #include "atom.h"
32
-#include <linux/backlight.h>
3339 #ifdef CONFIG_PMAC_BACKLIGHT
3440 #include <asm/backlight.h>
3541 #endif
....@@ -1706,7 +1712,7 @@
17061712 else
17071713 ret = radeon_legacy_get_tmds_info_from_combios(encoder, tmds);
17081714
1709
- if (ret == false)
1715
+ if (!ret)
17101716 radeon_legacy_get_tmds_info_from_table(encoder, tmds);
17111717
17121718 return tmds;
....@@ -1729,7 +1735,7 @@
17291735
17301736 ret = radeon_legacy_get_ext_tmds_info_from_combios(encoder, tmds);
17311737
1732
- if (ret == false)
1738
+ if (!ret)
17331739 radeon_legacy_get_ext_tmds_info_from_table(encoder, tmds);
17341740
17351741 return tmds;