Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: Fix build when FBDEV_EMULATION is disabled

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

authored by

Gabriel Krisman Bertazi and committed by
Daniel Vetter
7e6328fd e4563f6b

+1 -1
+1 -1
include/drm/drm_fb_helper.h
··· 307 307 } 308 308 309 309 static inline int drm_fb_helper_init(struct drm_device *dev, 310 - struct drm_fb_helper *helper, int crtc_count, 310 + struct drm_fb_helper *helper, 311 311 int max_conn) 312 312 { 313 313 return 0;