Skip to content

Commit

Permalink
drm: fb: Add seq_file definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maxime Ripard committed Apr 28, 2016
1 parent 152ef5f commit 80588a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/drm/drm_fb_cma_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 80588a8

Please sign in to comment.