summaryrefslogtreecommitdiffstats
path: root/drivers/staging/imx-drm
diff options
context:
space:
mode:
authorFabio Estevam2014-02-27 00:53:44 +0100
committerGreg Kroah-Hartman2014-02-27 23:57:43 +0100
commitfdffa6f2b3a2385ecfc6516259e4c99d6feb7139 (patch)
treef5a4ab3635167f963627a829e5170e3bed31845c /drivers/staging/imx-drm
parentimx-drm: ipuv3-plane: Use %pad to print 'dma_addr_t' (diff)
downloadkernel-qcow2-linux-fdffa6f2b3a2385ecfc6516259e4c99d6feb7139.tar.gz
kernel-qcow2-linux-fdffa6f2b3a2385ecfc6516259e4c99d6feb7139.tar.xz
kernel-qcow2-linux-fdffa6f2b3a2385ecfc6516259e4c99d6feb7139.zip
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>
Diffstat (limited to 'drivers/staging/imx-drm')
-rw-r--r--drivers/staging/imx-drm/imx-drm-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/imx-drm/imx-drm-core.c b/drivers/staging/imx-drm/imx-drm-core.c
index dcba51853e8a..6b91c8e67174 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;