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: Chris Metcalf <cmetcalf@tilera.com> Acked-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
This commit is contained in:
parent
7f04f08168
commit
4cfe7629be
2 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <core/engine.h>
|
||||
#include <linux/swiotlb.h>
|
||||
|
||||
#include <subdev/fb.h>
|
||||
#include <subdev/vm.h>
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include <drm/radeon_drm.h>
|
||||
#include <linux/seq_file.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/swiotlb.h>
|
||||
#include "radeon_reg.h"
|
||||
#include "radeon.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue