From fdffa6f2b3a2385ecfc6516259e4c99d6feb7139 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Wed, 26 Feb 2014 20:53:44 -0300 Subject: [PATCH] imx-drm: imx-drm-core: Staticize imx_drm_find_crtc() Fix the following static checker warning: drivers/staging/imx-drm/imx-drm-core.c:89:21: warning: symbol 'imx_drm_find_crtc' was not declared. Should it be static? Reported-by: Dan Carpenter Signed-off-by: Fabio Estevam Signed-off-by: Greg Kroah-Hartman --- drivers/staging/imx-drm/imx-drm-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/imx-drm/imx-drm-core.c b/drivers/staging/imx-drm/imx-drm-core.c index dcba51853e8..6b91c8e6717 100644 --- a/drivers/staging/imx-drm/imx-drm-core.c +++ b/drivers/staging/imx-drm/imx-drm-core.c @@ -86,7 +86,7 @@ static int imx_drm_driver_unload(struct drm_device *drm) return 0; } -struct imx_drm_crtc *imx_drm_find_crtc(struct drm_crtc *crtc) +static struct imx_drm_crtc *imx_drm_find_crtc(struct drm_crtc *crtc) { struct imx_drm_device *imxdrm = crtc->dev->dev_private; unsigned i; -- 2.46.0