diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-02-01 13:44:33 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-02-15 10:19:39 +1000 |
commit | 3e2b756ba330343c960c332695608b9c5881a173 (patch) | |
tree | 2a2866253a5395182de49696c04b337276774ed2 /drivers/gpu/drm/nouveau/nouveau_bo.c | |
parent | 93711d8becca550154da3b9e422be77083ab51ad (diff) | |
download | lwn-3e2b756ba330343c960c332695608b9c5881a173.tar.gz lwn-3e2b756ba330343c960c332695608b9c5881a173.zip |
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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bo.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index 64d6e3047dee..2f2741483b51 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c @@ -28,6 +28,7 @@ */ #include <core/engine.h> +#include <linux/swiotlb.h> #include <subdev/fb.h> #include <subdev/vm.h> |