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 bc5a87e..62329f9 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;