projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74401b1
)
drm/udl: Make udl_enc_destroy() static
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 22 Sep 2012 06:47:39 +0000
(06:47 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 1 Oct 2012 23:24:25 +0000
(09:24 +1000)
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>
drivers/gpu/drm/udl/udl_encoder.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/udl/udl_encoder.c
b/drivers/gpu/drm/udl/udl_encoder.c
index 0731ab2e6c06e1c4c6d7369b9648031f3f36805e..0476bfe06d145805a6348d25d8974c13fcbd2f77 100644
(file)
--- 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);