summary refs log tree commit diff
path: root/drivers/gpu/drm/radeon/si_dpm.c
diff options
context:
space:
mode:
authorMichele Curti <michele.curti@gmail.com>2014-10-14 18:25:09 +0200
committerAlex Deucher <alexander.deucher@amd.com>2014-10-16 18:34:10 -0400
commit01467a9b5e7ec7b9e30768bee16ea5861665015b (patch)
tree7437ba0babb4fb05f707c26109cdda934a943bc8 /drivers/gpu/drm/radeon/si_dpm.c
parent8e66e134e20b936179ea1535dd4ed19ec4f99dba (diff)
downloadlinux-01467a9b5e7ec7b9e30768bee16ea5861665015b.tar.gz
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/si_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/si_dpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c
index 70e61ffeace2..a53c2e79d9cb 100644
--- a/drivers/gpu/drm/radeon/si_dpm.c
+++ b/drivers/gpu/drm/radeon/si_dpm.c
@@ -23,6 +23,7 @@
 
 #include "drmP.h"
 #include "radeon.h"
+#include "radeon_asic.h"
 #include "sid.h"
 #include "r600_dpm.h"
 #include "si_dpm.h"