diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2015-12-31 05:20:20 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-01-11 18:29:25 -0500 |
commit | 8a0d560f3e651808ae0a3d9ab9fe476e59de132b (patch) | |
tree | 0544544d010b23670cf4a5e31687c818b3792aef | |
parent | 57b4f7e68720e8a9f5e6e9e61446ec36822e4c57 (diff) |
drm/amdgpu/powerplay: include asm/div64.h for do_div()
Fixes: 1e4854e96c35 ("drm/amdgpu/powerplay: implement thermal control for tonga.")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c b/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c index def57d0675ed..e76a7de9aa32 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c | |||
@@ -20,7 +20,7 @@ | |||
20 | * OTHER DEALINGS IN THE SOFTWARE. | 20 | * OTHER DEALINGS IN THE SOFTWARE. |
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | #include <asm/div64.h> | |
24 | #include "fiji_thermal.h" | 24 | #include "fiji_thermal.h" |
25 | #include "fiji_hwmgr.h" | 25 | #include "fiji_hwmgr.h" |
26 | #include "fiji_smumgr.h" | 26 | #include "fiji_smumgr.h" |
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c index 2e159b003e71..a188174747c9 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c | |||
@@ -20,7 +20,7 @@ | |||
20 | * OTHER DEALINGS IN THE SOFTWARE. | 20 | * OTHER DEALINGS IN THE SOFTWARE. |
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | #include <asm/div64.h> | |
24 | #include "tonga_thermal.h" | 24 | #include "tonga_thermal.h" |
25 | #include "tonga_hwmgr.h" | 25 | #include "tonga_hwmgr.h" |
26 | #include "tonga_smumgr.h" | 26 | #include "tonga_smumgr.h" |