summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-05-09 03:30:42 +0300
committerDave Airlie <airlied@redhat.com>2016-05-09 03:30:42 +0300
commitba391646d0d43aee3596b616113cce0f22dde627 (patch)
tree53a3cac72799c8a448128fc83563757aae2a0714
parent2c3d68abe2f06b21f047b52e6f0e1b82542e1332 (diff)
downloadlinux-ba391646d0d43aee3596b616113cce0f22dde627.tar.xz
drm/amdgpu: fix build on aarch64.
Same fix went in previously for some other files. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_thermal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_thermal.c b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_thermal.c
index 956e00ca361a..aba167f7d167 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_thermal.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_thermal.c
@@ -21,6 +21,7 @@
*
*/
+#include <asm/div64.h>
#include "polaris10_thermal.h"
#include "polaris10_hwmgr.h"
#include "polaris10_smumgr.h"