projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7d56b
)
drm/bridge: ptn3460: Fix sparse warnings
author
Thierry Reding
<treding@nvidia.com>
Fri, 30 Jan 2015 11:33:58 +0000
(12:33 +0100)
committer
Thierry 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/bridge/ptn3460.c
b/drivers/gpu/drm/bridge/ptn3460.c
index 826833e396f0930886e438edc1ef97f652ef2a77..9d2f053382e1889acbd8be4048403292c8615884 100644
(file)
--- 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;