]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/bridge: ptn3460: Fix sparse warnings
authorThierry Reding <treding@nvidia.com>
Fri, 30 Jan 2015 11:33:58 +0000 (12:33 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 24 Mar 2015 10:16:48 +0000 (11:16 +0100)
The ptn3460_bridge_attach symbol is never used outside this file, so it
should be static.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/bridge/ptn3460.c

index 826833e396f0930886e438edc1ef97f652ef2a77..9d2f053382e1889acbd8be4048403292c8615884 100644 (file)
@@ -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;