aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-08-12 10:54:29 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-08-12 11:15:12 -0400
commitb54a0935b03888c8412aa5acbf873af9d753fbdd (patch)
tree346c9810e4a710033fac98aa87e85b8b539e934a
parent45e3743aff6f3fbe3f08d43d443dc2d7b5396a31 (diff)
drm/plane: Remove redundant extern
Use of the extern keyword for function prototypes is unnecessary, so it can be removed. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--include/drm/drm_plane_helper.h45
1 files changed, 22 insertions, 23 deletions
diff --git a/include/drm/drm_plane_helper.h b/include/drm/drm_plane_helper.h
index 96e16283afb9..dda401bf910e 100644
--- a/include/drm/drm_plane_helper.h
+++ b/include/drm/drm_plane_helper.h
@@ -43,9 +43,8 @@
43 * planes. 43 * planes.
44 */ 44 */
45 45
46extern int drm_crtc_init(struct drm_device *dev, 46int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc,
47 struct drm_crtc *crtc, 47 const struct drm_crtc_funcs *funcs);
48 const struct drm_crtc_funcs *funcs);
49 48
50/** 49/**
51 * drm_plane_helper_funcs - helper operations for CRTCs 50 * drm_plane_helper_funcs - helper operations for CRTCs
@@ -79,26 +78,26 @@ static inline void drm_plane_helper_add(struct drm_plane *plane,
79 plane->helper_private = funcs; 78 plane->helper_private = funcs;
80} 79}
81 80
82extern int drm_plane_helper_check_update(struct drm_plane *plane, 81int drm_plane_helper_check_update(struct drm_plane *plane,
83 struct drm_crtc *crtc, 82 struct drm_crtc *crtc,
84 struct drm_framebuffer *fb, 83 struct drm_framebuffer *fb,
85 struct drm_rect *src, 84 struct drm_rect *src,
86 struct drm_rect *dest, 85 struct drm_rect *dest,
87 const struct drm_rect *clip, 86 const struct drm_rect *clip,
88 int min_scale, 87 int min_scale,
89 int max_scale, 88 int max_scale,
90 bool can_position, 89 bool can_position,
91 bool can_update_disabled, 90 bool can_update_disabled,
92 bool *visible); 91 bool *visible);
93extern int drm_primary_helper_update(struct drm_plane *plane, 92int drm_primary_helper_update(struct drm_plane *plane,
94 struct drm_crtc *crtc, 93 struct drm_crtc *crtc,
95 struct drm_framebuffer *fb, 94 struct drm_framebuffer *fb,
96 int crtc_x, int crtc_y, 95 int crtc_x, int crtc_y,
97 unsigned int crtc_w, unsigned int crtc_h, 96 unsigned int crtc_w, unsigned int crtc_h,
98 uint32_t src_x, uint32_t src_y, 97 uint32_t src_x, uint32_t src_y,
99 uint32_t src_w, uint32_t src_h); 98 uint32_t src_w, uint32_t src_h);
100extern int drm_primary_helper_disable(struct drm_plane *plane); 99int drm_primary_helper_disable(struct drm_plane *plane);
101extern void drm_primary_helper_destroy(struct drm_plane *plane); 100void drm_primary_helper_destroy(struct drm_plane *plane);
102extern const struct drm_plane_funcs drm_primary_helper_funcs; 101extern const struct drm_plane_funcs drm_primary_helper_funcs;
103 102
104int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, 103int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc,