Commit df1d3069 authored by Thierry Reding's avatar 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: default avatarThierry Reding <treding@nvidia.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment