summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-09-22 09:05:21 +0200
committerDave Airlie <airlied@redhat.com>2012-10-02 01:24:34 +0200
commit8d42a919156cfcfdd19addbc4c2989fc46810c1c (patch)
treeafed51e8bac9324bcbceba1d4feb9709b9399432
parentdrm/udl: Make udl_enc_destroy() static (diff)
downloadlinux-8d42a919156cfcfdd19addbc4c2989fc46810c1c.tar.xz
linux-8d42a919156cfcfdd19addbc4c2989fc46810c1c.zip
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 <sachin.kamat@linaro.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/udl/udl_modeset.c2
1 files changed, 1 insertions, 1 deletions
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;