Browse Source

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 <dan.carpenter@oracle.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Fabio Estevam 11 years ago
parent
commit
fdffa6f2b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/imx-drm/imx-drm-core.c

+ 1 - 1
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;