drm/atmel-hlcdc: Make ->reset() implementation static
PATCH 1/1 drm/atmel-hlcdc: Make ->reset() implementation static
From: Thierry Reding <[email protected]>
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]>
--- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c +1 -1
@@ -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;
Signature · 6 lines
2.8.3 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel