瀏覽代碼

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;