drm/tegra: plane: Make tegra_plane_get_overlap_index() static
authorDmitry Osipenko <digetx@gmail.com>
Thu, 15 Mar 2018 10:37:05 +0000 (11:37 +0100)
committerThierry 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

index 36a06a9..95ffaae 100644 (file)
@@ -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;