From: Sachin Kamat Date: Sat, 22 Sep 2012 07:05:21 +0000 (+0000) Subject: drm/udl: Make udl_crtc_init() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d42a919156cfcfdd19addbc4c2989fc46810c1c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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: Sachin Kamat Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c index 9159d48d1dfd..8f258158c1fe 100644 --- a/drivers/gpu/drm/udl/udl_modeset.c +++ b/drivers/gpu/drm/udl/udl_modeset.c @@ -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;