drm/atmel-hlcdc: Make ->reset() implementation static
authorThierry Reding <treding@nvidia.com>
Mon, 11 Jul 2016 10:19:40 +0000 (12:19 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 6 Sep 2016 12:46:16 +0000 (14:46 +0200)
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 <treding@nvidia.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c

index a978381..9b17a66 100644 (file)
@@ -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;