diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-22 07:05:21 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-10-02 09:24:34 +1000 |
commit | 8d42a919156cfcfdd19addbc4c2989fc46810c1c (patch) | |
tree | afed51e8bac9324bcbceba1d4feb9709b9399432 /drivers/gpu/drm/udl | |
parent | 92780062496e8454a43b47af1994f83462580ec5 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/udl')
-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 9159d48d1df..8f258158c1f 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; |