From: Sachin Kamat Date: Wed, 1 Aug 2012 11:45:31 +0000 (+0530) Subject: drm: Add missing static storage class specifier in drm_irq.c file X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ea7f7abcbb3b72bdc7927d043b3e9dc6058bd75a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm: Add missing static storage class specifier in drm_irq.c file 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 Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c index 03f16f352fe2..076c4a86ff84 100644 --- a/drivers/gpu/drm/drm_irq.c +++ b/drivers/gpu/drm/drm_irq.c @@ -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;