提交 8a0d560f 编写于 作者: S Stephen Rothwell 提交者: 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: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册