Browse Source

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>
Matt Turner 15 years ago
parent
commit
4cdc840a37
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/gpu/drm/ttm/ttm_page_alloc.c

+ 1 - 0
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>