drm: fb: Add seq_file definition
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 8 Feb 2016 12:58:56 +0000 (13:58 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 28 Apr 2016 08:30:05 +0000 (10:30 +0200)
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>
include/drm/drm_fb_cma_helper.h

index be62bd3..ae49c24 100644 (file)
@@ -24,6 +24,8 @@ struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb,
        unsigned int plane);
 
 #ifdef CONFIG_DEBUG_FS
+struct seq_file;
+
 int drm_fb_cma_debugfs_show(struct seq_file *m, void *arg);
 #endif