summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/btc_dpm.c
diff options
context:
space:
mode:
authorMichele Curti2014-10-14 18:25:09 +0200
committerAlex Deucher2014-10-17 00:34:10 +0200
commit01467a9b5e7ec7b9e30768bee16ea5861665015b (patch)
tree7437ba0babb4fb05f707c26109cdda934a943bc8 /drivers/gpu/drm/radeon/btc_dpm.c
parentdrm/radeon: fix vm page table block size calculation (diff)
downloadkernel-qcow2-linux-01467a9b5e7ec7b9e30768bee16ea5861665015b.tar.gz
kernel-qcow2-linux-01467a9b5e7ec7b9e30768bee16ea5861665015b.tar.xz
kernel-qcow2-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/btc_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/btc_dpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/btc_dpm.c b/drivers/gpu/drm/radeon/btc_dpm.c
index b7181607e421..0b2929de9f41 100644
--- a/drivers/gpu/drm/radeon/btc_dpm.c
+++ b/drivers/gpu/drm/radeon/btc_dpm.c
@@ -24,6 +24,7 @@
#include "drmP.h"
#include "radeon.h"
+#include "radeon_asic.h"
#include "btcd.h"
#include "r600_dpm.h"
#include "cypress_dpm.h"