summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cypress_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-17 00:34:10 +0200
commit01467a9b5e7ec7b9e30768bee16ea5861665015b (patch)
tree7437ba0babb4fb05f707c26109cdda934a943bc8 /drivers/gpu/drm/radeon/cypress_dpm.c
parentdrm/radeon: fix vm page table block size calculation (diff)
downloadlinux-01467a9b5e7ec7b9e30768bee16ea5861665015b.tar.xz
linux-01467a9b5e7ec7b9e30768bee16ea5861665015b.zip
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/cypress_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/cypress_dpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cypress_dpm.c b/drivers/gpu/drm/radeon/cypress_dpm.c
index 47d31e915758..9aad0327e4d1 100644
--- a/drivers/gpu/drm/radeon/cypress_dpm.c
+++ b/drivers/gpu/drm/radeon/cypress_dpm.c
@@ -24,6 +24,7 @@
#include "drmP.h"
#include "radeon.h"
+#include "radeon_asic.h"
#include "evergreend.h"
#include "r600_dpm.h"
#include "cypress_dpm.h"