Skip to content

Commit

Permalink
drm/udl: Make udl_enc_destroy() static
Browse files Browse the repository at this point in the history
Fixes the following sparse warning:
drivers/gpu/drm/udl/udl_encoder.c:19:6: warning:
symbol 'udl_enc_destroy' 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 74401b1 commit 9278006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/udl/udl_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "udl_drv.h"

/* dummy encoder */
void udl_enc_destroy(struct drm_encoder *encoder)
static void udl_enc_destroy(struct drm_encoder *encoder)
{
drm_encoder_cleanup(encoder);
kfree(encoder);
Expand Down

0 comments on commit 9278006

Please sign in to comment.