diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-22 09:05:21 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-10-02 01:24:34 +0200 |
commit | 8d42a919156cfcfdd19addbc4c2989fc46810c1c (patch) | |
tree | afed51e8bac9324bcbceba1d4feb9709b9399432 | |
parent | drm/udl: Make udl_enc_destroy() static (diff) | |
download | linux-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.c | 2 |
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; |