Skip to content

Commit

Permalink
drm/atmel-hlcdc: Make ->reset() implementation static
Browse files Browse the repository at this point in the history
The atmel_hlcdc_crtc_reset() function is never used outside the file and
can be static. This avoids a warning from sparse.

Signed-off-by: Thierry Reding <[email protected]>
  • Loading branch information
thierryreding authored and Boris Brezillon committed Sep 6, 2016
1 parent d31ed3f commit 1ba7db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ void atmel_hlcdc_crtc_irq(struct drm_crtc *c)
atmel_hlcdc_crtc_finish_page_flip(drm_crtc_to_atmel_hlcdc_crtc(c));
}

void atmel_hlcdc_crtc_reset(struct drm_crtc *crtc)
static void atmel_hlcdc_crtc_reset(struct drm_crtc *crtc)
{
struct atmel_hlcdc_crtc_state *state;

Expand Down

0 comments on commit 1ba7db0

Please sign in to comment.