summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/ci_dpm.c
diff options
context:
space:
mode:
authorMichele Curti <michele.curti@gmail.com>2014-10-14 20:25:09 +0400
committerAlex Deucher <alexander.deucher@amd.com>2014-10-17 02:34:10 +0400
commit01467a9b5e7ec7b9e30768bee16ea5861665015b (patch)
tree7437ba0babb4fb05f707c26109cdda934a943bc8 /drivers/gpu/drm/radeon/ci_dpm.c
parent8e66e134e20b936179ea1535dd4ed19ec4f99dba (diff)
downloadlinux-01467a9b5e7ec7b9e30768bee16ea5861665015b.tar.xz
drm/radeon: reduce sparse false positive warnings
include radeon_asic.h header file in the various xxx_dpm.c files to reduce sparse false positive warnings. Not so great patch in itself, but reducing warning count from 391 to 258 may help to see real problems.. Signed-off-by: Michele Curti <michele.curti@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ci_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/ci_dpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c
index f5c8c0445a94..11a55e9dad7f 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.c
+++ b/drivers/gpu/drm/radeon/ci_dpm.c
@@ -24,6 +24,7 @@
#include <linux/firmware.h>
#include "drmP.h"
#include "radeon.h"
+#include "radeon_asic.h"
#include "radeon_ucode.h"
#include "cikd.h"
#include "r600_dpm.h"