From: Stephen Rothwell Date: Thu, 31 Dec 2015 10:20:20 +0000 (+1100) Subject: drm/amdgpu/powerplay: include asm/div64.h for do_div() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=8a0d560f3e651808ae0a3d9ab9fe476e59de132b;hp=-c;p=deliverable%2Flinux.git 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 Signed-off-by: Dave Airlie --- 8a0d560f3e651808ae0a3d9ab9fe476e59de132b 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 @@ * OTHER DEALINGS IN THE SOFTWARE. * */ - +#include #include "fiji_thermal.h" #include "fiji_hwmgr.h" #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 @@ * OTHER DEALINGS IN THE SOFTWARE. * */ - +#include #include "tonga_thermal.h" #include "tonga_hwmgr.h" #include "tonga_smumgr.h"