Skip to content

Commit

Permalink
drm/bridge: ptn3460: Fix sparse warnings
Browse files Browse the repository at this point in the history
The ptn3460_bridge_attach symbol is never used outside this file, so it
should be static.

Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Thierry Reding committed Mar 24, 2015
1 parent 8a7d56b commit df1d306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/bridge/ptn3460.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ static struct drm_connector_funcs ptn3460_connector_funcs = {
.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);
int ret;
Expand Down

0 comments on commit df1d306

Please sign in to comment.