diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2018-03-15 11:37:05 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-03-15 11:37:05 +0100 |
commit | 5e2e86f12cba9591b4ad3c1e7f76e149319af9e7 (patch) | |
tree | 9a46ae65cfd0d0fd8310a222e6c34125b1f0bf5d /drivers/gpu/drm/tegra | |
parent | b8f3f500e09c2c457efc2fcbfe8b7f815f2e6a0e (diff) | |
download | linux-5e2e86f12cba9591b4ad3c1e7f76e149319af9e7.tar.bz2 |
drm/tegra: plane: Make tegra_plane_get_overlap_index() static
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>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/plane.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tegra/plane.c b/drivers/gpu/drm/tegra/plane.c index 36a06a993698..95ffaae06f08 100644 --- 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; |