提交 fdffa6f2 编写于 作者: F Fabio Estevam 提交者: Greg Kroah-Hartman

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: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 18589738
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部