Skip to content

Commit

Permalink
drm/udl: Make udl_crtc_init() static
Browse files Browse the repository at this point in the history
Fixes the following sparse warning:
drivers/gpu/drm/udl/udl_modeset.c:394:5: warning:
symbol 'udl_crtc_init' was not declared. Should it be static?

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Sachin Kamat authored and Dave Airlie committed Oct 1, 2012
1 parent 9278006 commit 8d42a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/udl/udl_modeset.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ static const struct drm_crtc_funcs udl_crtc_funcs = {
.destroy = udl_crtc_destroy,
};

int udl_crtc_init(struct drm_device *dev)
static int udl_crtc_init(struct drm_device *dev)
{
struct drm_crtc *crtc;

Expand Down

0 comments on commit 8d42a91

Please sign in to comment.