drm: include seq_file.h for debugfs builds.
authorDave Airlie <airlied@redhat.com>
Tue, 8 Sep 2009 01:32:08 +0000 (11:32 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Sep 2009 01:32:08 +0000 (11:32 +1000)
Fixes a warning seen on powerpc.

Signed-off-by: Dave Airlie <airlied@redhat.com>
include/drm/drm_mm.h

index bc5a87e8aeea646dd27b4438f222193d80b63a20..62329f9a42cbbc953866e899599fe15e42d099ff 100644 (file)
@@ -37,6 +37,9 @@
  * Generic range manager structs
  */
 #include <linux/list.h>
+#ifdef CONFIG_DEBUG_FS
+#include <linux/seq_file.h>
+#endif
 
 struct drm_mm_node {
        struct list_head fl_entry;