Commit 4cfe7629 authored by Chris Metcalf's avatar Chris Metcalf

drm: fix compile failure by including <linux/swiotlb.h>

On tile architecture (with "make allyesconfig") including
<linux/swiotlb.h> is required to call swiotlb_nr_tbl().
Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
Acked-by: default avatarMaarten Lankhorst <maarten.lankhorst@canonical.com>
parent 7f04f081
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
*/ */
#include <core/engine.h> #include <core/engine.h>
#include <linux/swiotlb.h>
#include <subdev/fb.h> #include <subdev/fb.h>
#include <subdev/vm.h> #include <subdev/vm.h>
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <drm/radeon_drm.h> #include <drm/radeon_drm.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/swiotlb.h>
#include "radeon_reg.h" #include "radeon_reg.h"
#include "radeon.h" #include "radeon.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