aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-02-08 07:58:56 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-04-28 04:30:05 -0400
commit80588a86afd09c3c132ef7dc2a1ab2fe4c5f9d55 (patch)
treee39c9a3f42ff763a0c49e254ee70889778299622
parent152ef5fa9e14e93e7efc43adad7dbcf35d7780f5 (diff)
drm: fb: Add seq_file definition
Otherwise, building with DEBUG_FS enabled will trigger a build warning because we're using a structure that has not been declared. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--include/drm/drm_fb_cma_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_fb_cma_helper.h b/include/drm/drm_fb_cma_helper.h
index be62bd321e75..ae49c24fbf50 100644
--- a/include/drm/drm_fb_cma_helper.h
+++ b/include/drm/drm_fb_cma_helper.h
@@ -24,6 +24,8 @@ struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb,
24 unsigned int plane); 24 unsigned int plane);
25 25
26#ifdef CONFIG_DEBUG_FS 26#ifdef CONFIG_DEBUG_FS
27struct seq_file;
28
27int drm_fb_cma_debugfs_show(struct seq_file *m, void *arg); 29int drm_fb_cma_debugfs_show(struct seq_file *m, void *arg);
28#endif 30#endif
29 31