diff options
author | Thierry Reding <treding@nvidia.com> | 2015-01-30 12:33:58 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-03-24 11:16:48 +0100 |
commit | df1d3069a4c4a66ceebb3ff7cf99384103203bc3 (patch) | |
tree | 89f4dffc8e3116509a1ed2f602812185210e0dda /drivers/gpu/drm/bridge | |
parent | 8a7d56b371ffe52f14d7a987d612a274b534bdf1 (diff) | |
download | op-kernel-dev-df1d3069a4c4a66ceebb3ff7cf99384103203bc3.zip op-kernel-dev-df1d3069a4c4a66ceebb3ff7cf99384103203bc3.tar.gz |
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: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/bridge')
-rw-r--r-- | drivers/gpu/drm/bridge/ptn3460.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/ptn3460.c b/drivers/gpu/drm/bridge/ptn3460.c index 826833e..9d2f053 100644 --- a/drivers/gpu/drm/bridge/ptn3460.c +++ b/drivers/gpu/drm/bridge/ptn3460.c @@ -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; |