提交 df1d3069 编写于 作者: T Thierry Reding

drm/bridge: ptn3460: Fix sparse warnings

The ptn3460_bridge_attach symbol is never used outside this file, so it
should be static.
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 8a7d56b3
...@@ -265,7 +265,7 @@ static struct drm_connector_funcs ptn3460_connector_funcs = { ...@@ -265,7 +265,7 @@ static struct drm_connector_funcs ptn3460_connector_funcs = {
.destroy = ptn3460_connector_destroy, .destroy = ptn3460_connector_destroy,
}; };
int ptn3460_bridge_attach(struct drm_bridge *bridge) static int ptn3460_bridge_attach(struct drm_bridge *bridge)
{ {
struct ptn3460_bridge *ptn_bridge = bridge_to_ptn3460(bridge); struct ptn3460_bridge *ptn_bridge = bridge_to_ptn3460(bridge);
int ret; int ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册