imx-drm: imx-drm-core: Staticize imx_drm_find_crtc()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 26 Feb 2014 23:53:44 +0000 (20:53 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2014 22:57:43 +0000 (14:57 -0800)
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>
drivers/staging/imx-drm/imx-drm-core.c

index dcba51853e8aaaaf4490b964b9156f5032ea0820..6b91c8e67174c72bf1bb22d2929b4dfc9b37c41f 100644 (file)
@@ -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;