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>
This commit is contained in:
parent
45e3743aff
commit
b54a0935b0
@ -43,9 +43,8 @@
|
|||||||
* planes.
|
* planes.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern int drm_crtc_init(struct drm_device *dev,
|
int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc,
|
||||||
struct drm_crtc *crtc,
|
const struct drm_crtc_funcs *funcs);
|
||||||
const struct drm_crtc_funcs *funcs);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* drm_plane_helper_funcs - helper operations for CRTCs
|
* drm_plane_helper_funcs - helper operations for CRTCs
|
||||||
@ -79,26 +78,26 @@ static inline void drm_plane_helper_add(struct drm_plane *plane,
|
|||||||
plane->helper_private = funcs;
|
plane->helper_private = funcs;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int drm_plane_helper_check_update(struct drm_plane *plane,
|
int drm_plane_helper_check_update(struct drm_plane *plane,
|
||||||
struct drm_crtc *crtc,
|
struct drm_crtc *crtc,
|
||||||
struct drm_framebuffer *fb,
|
struct drm_framebuffer *fb,
|
||||||
struct drm_rect *src,
|
struct drm_rect *src,
|
||||||
struct drm_rect *dest,
|
struct drm_rect *dest,
|
||||||
const struct drm_rect *clip,
|
const struct drm_rect *clip,
|
||||||
int min_scale,
|
int min_scale,
|
||||||
int max_scale,
|
int max_scale,
|
||||||
bool can_position,
|
bool can_position,
|
||||||
bool can_update_disabled,
|
bool can_update_disabled,
|
||||||
bool *visible);
|
bool *visible);
|
||||||
extern int drm_primary_helper_update(struct drm_plane *plane,
|
int drm_primary_helper_update(struct drm_plane *plane,
|
||||||
struct drm_crtc *crtc,
|
struct drm_crtc *crtc,
|
||||||
struct drm_framebuffer *fb,
|
struct drm_framebuffer *fb,
|
||||||
int crtc_x, int crtc_y,
|
int crtc_x, int crtc_y,
|
||||||
unsigned int crtc_w, unsigned int crtc_h,
|
unsigned int crtc_w, unsigned int crtc_h,
|
||||||
uint32_t src_x, uint32_t src_y,
|
uint32_t src_x, uint32_t src_y,
|
||||||
uint32_t src_w, uint32_t src_h);
|
uint32_t src_w, uint32_t src_h);
|
||||||
extern int drm_primary_helper_disable(struct drm_plane *plane);
|
int drm_primary_helper_disable(struct drm_plane *plane);
|
||||||
extern void drm_primary_helper_destroy(struct drm_plane *plane);
|
void drm_primary_helper_destroy(struct drm_plane *plane);
|
||||||
extern const struct drm_plane_funcs drm_primary_helper_funcs;
|
extern const struct drm_plane_funcs drm_primary_helper_funcs;
|
||||||
|
|
||||||
int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc,
|
int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc,
|
||||||
|
Loading…
Reference in New Issue
Block a user