projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8f3f50
)
drm/tegra: plane: Make tegra_plane_get_overlap_index() static
author
Dmitry Osipenko
<digetx@gmail.com>
Thu, 15 Mar 2018 10:37:05 +0000
(11:37 +0100)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 15 Mar 2018 10:37:05 +0000
(11:37 +0100)
This function is not used outside of the file and can be static.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/plane.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/plane.c
b/drivers/gpu/drm/tegra/plane.c
index
36a06a9
..
95ffaae
100644
(file)
--- a/
drivers/gpu/drm/tegra/plane.c
+++ b/
drivers/gpu/drm/tegra/plane.c
@@
-302,8
+302,8
@@
int tegra_plane_format_get_alpha(unsigned int opaque, unsigned int *alpha)
return -EINVAL;
}
-unsigned int tegra_plane_get_overlap_index(struct tegra_plane *plane,
- struct tegra_plane *other)
+
static
unsigned int tegra_plane_get_overlap_index(struct tegra_plane *plane,
+
struct tegra_plane *other)
{
unsigned int index = 0, i;