Commit 8a0d560f authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Dave Airlie

drm/amdgpu/powerplay: include asm/div64.h for do_div()

Fixes: 1e4854e9 ("drm/amdgpu/powerplay: implement thermal control for tonga.")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 57b4f7e6
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* OTHER DEALINGS IN THE SOFTWARE. * OTHER DEALINGS IN THE SOFTWARE.
* *
*/ */
#include <asm/div64.h>
#include "fiji_thermal.h" #include "fiji_thermal.h"
#include "fiji_hwmgr.h" #include "fiji_hwmgr.h"
#include "fiji_smumgr.h" #include "fiji_smumgr.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* OTHER DEALINGS IN THE SOFTWARE. * OTHER DEALINGS IN THE SOFTWARE.
* *
*/ */
#include <asm/div64.h>
#include "tonga_thermal.h" #include "tonga_thermal.h"
#include "tonga_hwmgr.h" #include "tonga_hwmgr.h"
#include "tonga_smumgr.h" #include "tonga_smumgr.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment