.. | .. |
---|
23 | 23 | * Authors: Dave Airlie |
---|
24 | 24 | * Alex Deucher |
---|
25 | 25 | */ |
---|
26 | | -#include <drm/drmP.h> |
---|
| 26 | + |
---|
| 27 | +#include <linux/backlight.h> |
---|
| 28 | +#include <linux/pci.h> |
---|
| 29 | + |
---|
27 | 30 | #include <drm/drm_crtc_helper.h> |
---|
| 31 | +#include <drm/drm_device.h> |
---|
| 32 | +#include <drm/drm_file.h> |
---|
| 33 | +#include <drm/drm_util.h> |
---|
28 | 34 | #include <drm/radeon_drm.h> |
---|
| 35 | + |
---|
29 | 36 | #include "radeon.h" |
---|
30 | 37 | #include "radeon_asic.h" |
---|
31 | 38 | #include "atom.h" |
---|
32 | | -#include <linux/backlight.h> |
---|
33 | 39 | #ifdef CONFIG_PMAC_BACKLIGHT |
---|
34 | 40 | #include <asm/backlight.h> |
---|
35 | 41 | #endif |
---|
.. | .. |
---|
1706 | 1712 | else |
---|
1707 | 1713 | ret = radeon_legacy_get_tmds_info_from_combios(encoder, tmds); |
---|
1708 | 1714 | |
---|
1709 | | - if (ret == false) |
---|
| 1715 | + if (!ret) |
---|
1710 | 1716 | radeon_legacy_get_tmds_info_from_table(encoder, tmds); |
---|
1711 | 1717 | |
---|
1712 | 1718 | return tmds; |
---|
.. | .. |
---|
1729 | 1735 | |
---|
1730 | 1736 | ret = radeon_legacy_get_ext_tmds_info_from_combios(encoder, tmds); |
---|
1731 | 1737 | |
---|
1732 | | - if (ret == false) |
---|
| 1738 | + if (!ret) |
---|
1733 | 1739 | radeon_legacy_get_ext_tmds_info_from_table(encoder, tmds); |
---|
1734 | 1740 | |
---|
1735 | 1741 | return tmds; |
---|