Skip to contentSkip to conversation

drm/udl: Make udl_enc_destroy() static

PATCH New Sachin Kamat 1 participant 1 message Sep 22, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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?

---
 drivers/gpu/drm/udl/udl_encoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/udl/udl_encoder.c +1 -1
index 0731ab2..0476bfe 100644
@@ -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);
Signature · 1 line
1.7.4.1