summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-08 11:32:08 +1000
committerDave Airlie <airlied@redhat.com>2009-09-08 11:32:08 +1000
commitf1938cd6e900a85de64184e46d841efc9efd3484 (patch)
tree73b9b28ae608687dd374863f48ee886b9ca5562c
parentf641e51e7469cc3a8115a3bd70b4526d566b1c60 (diff)
drm: include seq_file.h for debugfs builds.
Fixes a warning seen on powerpc. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--include/drm/drm_mm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_mm.h b/include/drm/drm_mm.h
index bc5a87e8aee..62329f9a42c 100644
--- a/include/drm/drm_mm.h
+++ b/include/drm/drm_mm.h
@@ -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;