Skip to content

Commit

Permalink
drm: Fix build when FBDEV_EMULATION is disabled
Browse files Browse the repository at this point in the history
Commit be7f735cd5ea ("drm: Rely on mode_config data for fb_helper
initialization") broke the build when CONFIG_DRM_FBDEV_EMULATION is
disabled because it didn't update the prototype for drm_fb_helper_init
in that case.

Fixes: be7f735cd5ea ("drm: Rely on mode_config data for fb_helper
 initialization")
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170202193900.22075-1-krisman@collabora.co.uk
  • Loading branch information
Gabriel Krisman Bertazi authored and Daniel Vetter committed Feb 2, 2017
1 parent e4563f6 commit 7e6328f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/drm/drm_fb_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ static inline void drm_fb_helper_prepare(struct drm_device *dev,
}

static inline int drm_fb_helper_init(struct drm_device *dev,
struct drm_fb_helper *helper, int crtc_count,
struct drm_fb_helper *helper,
int max_conn)
{
return 0;
Expand Down

0 comments on commit 7e6328f

Please sign in to comment.