aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ttm
diff options
context:
space:
mode:
authorMatt Turner2010-04-07 22:42:04 +0000
committerDave Airlie2010-04-08 10:08:03 +1000
commit4cdc840a371bbaf635b1d47bd8bf67a0b804538e (patch)
treece7d4fc163240573474fa01d1966f3ba2307b6ff /drivers/gpu/drm/ttm
parentc96af79e3463d5d3f865625baa8bb8aa4c0944a0 (diff)
drm/ttm: include linux/seq_file.h for seq_printf
Fixes drivers/gpu/drm/ttm/ttm_page_alloc.c: In function 'ttm_page_alloc_debugfs': drivers/gpu/drm/ttm/ttm_page_alloc.c:829: error: implicit declaration of function 'seq_printf' Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ttm')
-rw-r--r--drivers/gpu/drm/ttm/ttm_page_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c
index 6ca9b27e33d5..2ad2dc9d3692 100644
--- a/drivers/gpu/drm/ttm/ttm_page_alloc.c
+++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c
@@ -36,6 +36,7 @@
#include <linux/mm_types.h>
#include <linux/module.h>
#include <linux/mm.h>
+#include <linux/seq_file.h> /* for seq_printf */
#include <asm/atomic.h>
#include <asm/agp.h>