Browse Source

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>
Sachin Kamat 12 years ago
parent
commit
8d42a91915
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/udl/udl_modeset.c

+ 1 - 1
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;