Skip to content

Commit de1ace5

Browse files
committed
drm/fb-helper: unexport drm_fb_helper_single_fb_probe
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>
1 parent 43c8a84 commit de1ace5

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎drivers/gpu/drm/drm_fb_helper.c‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,8 @@ int drm_fb_helper_pan_display(struct fb_var_screeninfo *var,
754754
}
755755
EXPORT_SYMBOL(drm_fb_helper_pan_display);
756756

757-
int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper,
758-
int preferred_bpp)
757+
static int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper,
758+
int preferred_bpp)
759759
{
760760
int new_fb = 0;
761761
int crtc_count = 0;
@@ -870,7 +870,6 @@ int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper,
870870

871871
return 0;
872872
}
873-
EXPORT_SYMBOL(drm_fb_helper_single_fb_probe);
874873

875874
void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch,
876875
uint32_t depth)

‎include/drm/drm_fb_helper.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ struct drm_fb_helper {
8282
bool delayed_hotplug;
8383
};
8484

85-
int drm_fb_helper_single_fb_probe(struct drm_fb_helper *helper,
86-
int preferred_bpp);
87-
8885
int drm_fb_helper_init(struct drm_device *dev,
8986
struct drm_fb_helper *helper, int crtc_count,
9087
int max_conn);

0 commit comments

Comments
 (0)