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

drm/udl: Make udl_crtc_init() static

Fixes the following sparse warning:
drivers/gpu/drm/udl/udl_modeset.c:394:5: warning:
symbol 'udl_crtc_init' was not declared. Should it be static?
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 92780062
......@@ -391,7 +391,7 @@ static const struct drm_crtc_funcs udl_crtc_funcs = {
.destroy = udl_crtc_destroy,
};
int udl_crtc_init(struct drm_device *dev)
static int udl_crtc_init(struct drm_device *dev)
{
struct drm_crtc *crtc;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册