diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-22 06:47:39 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-10-02 09:24:25 +1000 |
commit | 92780062496e8454a43b47af1994f83462580ec5 (patch) | |
tree | fda853f7b66682b2c4af71ee6634fe0026732fd8 /drivers/gpu/drm/udl | |
parent | 74401b1dd320c419f8444d0a45daba5b42a9b7e9 (diff) | |
download | linux-92780062496e8454a43b47af1994f83462580ec5.tar.gz linux-92780062496e8454a43b47af1994f83462580ec5.tar.bz2 linux-92780062496e8454a43b47af1994f83462580ec5.zip |
drm/udl: Make udl_enc_destroy() static
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>
Diffstat (limited to 'drivers/gpu/drm/udl')
-rw-r--r-- | drivers/gpu/drm/udl/udl_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_encoder.c b/drivers/gpu/drm/udl/udl_encoder.c index 0731ab2e6c06..0476bfe06d14 100644 --- a/drivers/gpu/drm/udl/udl_encoder.c +++ b/drivers/gpu/drm/udl/udl_encoder.c @@ -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); |