Преглед изворни кода

drm: include seq_file.h for debugfs builds.

Fixes a warning seen on powerpc.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Dave Airlie пре 15 година
родитељ
комит
f1938cd6e9
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      include/drm/drm_mm.h

+ 3 - 0
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;