提交 92780062 编写于 作者: S Sachin Kamat 提交者: Dave Airlie

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: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 74401b1d
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册