]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm/fb-helper: unexport drm_fb_helper_single_fb_probe
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 Jan 2013 20:50:49 +0000 (21:50 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Feb 2013 23:07:52 +0000 (00:07 +0100)
Not called by anyone, and really, shouldn't be. Drivers are supposed
either drm_fb_helper_initial_config or drm_fb_helper_hotplug_event.
Originally this was done differently, but is now consolidated in the
helper functions and no longer done by drivers directly.

Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_fb_helper.h

index eaab092b995d9e43b8432b00c951b627ffe1c86b..f5d362680f2bdcd84246cd3ce1ef4fe47628af23 100644 (file)
@@ -754,8 +754,8 @@ int drm_fb_helper_pan_display(struct fb_var_screeninfo *var,
 }
 EXPORT_SYMBOL(drm_fb_helper_pan_display);
 
-int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper,
-                                 int preferred_bpp)
+static int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper,
+                                        int preferred_bpp)
 {
        int new_fb = 0;
        int crtc_count = 0;
@@ -870,7 +870,6 @@ int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper,
 
        return 0;
 }
-EXPORT_SYMBOL(drm_fb_helper_single_fb_probe);
 
 void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch,
                            uint32_t depth)
index ba32505efb02c1e46981b84610f66433f46fb433..973402d6effe657ea12e3d4edca70d98e95c25da 100644 (file)
@@ -82,9 +82,6 @@ struct drm_fb_helper {
        bool delayed_hotplug;
 };
 
-int drm_fb_helper_single_fb_probe(struct drm_fb_helper *helper,
-                                 int preferred_bpp);
-
 int drm_fb_helper_init(struct drm_device *dev,
                       struct drm_fb_helper *helper, int crtc_count,
                       int max_conn);