diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-01-20 15:50:49 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-02-13 18:07:52 -0500 |
commit | de1ace5b56d11db26abe69fd19754f91c326763f (patch) | |
tree | 0eef3e87a7c474c15283c2f955a779478c7f17a1 | |
parent | 43c8a849a1e92fba6ea4493ed950d2a2e31ac87c (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 5 | ||||
-rw-r--r-- | include/drm/drm_fb_helper.h | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index eaab092b995d..f5d362680f2b 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c | |||
@@ -754,8 +754,8 @@ int drm_fb_helper_pan_display(struct fb_var_screeninfo *var, | |||
754 | } | 754 | } |
755 | EXPORT_SYMBOL(drm_fb_helper_pan_display); | 755 | EXPORT_SYMBOL(drm_fb_helper_pan_display); |
756 | 756 | ||
757 | int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper, | 757 | static int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper, |
758 | int preferred_bpp) | 758 | int preferred_bpp) |
759 | { | 759 | { |
760 | int new_fb = 0; | 760 | int new_fb = 0; |
761 | int crtc_count = 0; | 761 | int crtc_count = 0; |
@@ -870,7 +870,6 @@ int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper, | |||
870 | 870 | ||
871 | return 0; | 871 | return 0; |
872 | } | 872 | } |
873 | EXPORT_SYMBOL(drm_fb_helper_single_fb_probe); | ||
874 | 873 | ||
875 | void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch, | 874 | void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch, |
876 | uint32_t depth) | 875 | uint32_t depth) |
diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index ba32505efb02..973402d6effe 100644 --- a/include/drm/drm_fb_helper.h +++ b/include/drm/drm_fb_helper.h | |||
@@ -82,9 +82,6 @@ struct drm_fb_helper { | |||
82 | bool delayed_hotplug; | 82 | bool delayed_hotplug; |
83 | }; | 83 | }; |
84 | 84 | ||
85 | int drm_fb_helper_single_fb_probe(struct drm_fb_helper *helper, | ||
86 | int preferred_bpp); | ||
87 | |||
88 | int drm_fb_helper_init(struct drm_device *dev, | 85 | int drm_fb_helper_init(struct drm_device *dev, |
89 | struct drm_fb_helper *helper, int crtc_count, | 86 | struct drm_fb_helper *helper, int crtc_count, |
90 | int max_conn); | 87 | int max_conn); |