drm: Add missing static storage class specifier in drm_irq.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 1 Aug 2012 11:45:31 +0000 (17:15 +0530)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Aug 2012 00:00:56 +0000 (10:00 +1000)
Fixes the following sparse warning:
drivers/gpu/drm/drm_irq.c:1239:6:
warning: symbol 'drm_handle_vblank_events' was not declared. Should it be static?

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_irq.c

index 03f16f352fe2e9e9b309008c182b33954fc46f93..076c4a86ff846fcfa8cde61340ac2b770b613e76 100644 (file)
@@ -1236,7 +1236,7 @@ done:
        return ret;
 }
 
-void drm_handle_vblank_events(struct drm_device *dev, int crtc)
+static void drm_handle_vblank_events(struct drm_device *dev, int crtc)
 {
        struct drm_pending_vblank_event *e, *t;
        struct timeval now;