Skip to content

Commit

Permalink
drm: Add missing static storage class specifier in drm_irq.c file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Dave Airlie committed Aug 24, 2012
1 parent 0227a7f commit ea7f7ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ int drm_wait_vblank(struct drm_device *dev, void *data,
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;
Expand Down

0 comments on commit ea7f7ab

Please sign in to comment.