Pārlūkot izejas kodu

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>
Dmitry Osipenko 7 gadi atpakaļ
vecāks
revīzija
5e2e86f12c
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      drivers/gpu/drm/tegra/plane.c

+ 2 - 2
drivers/gpu/drm/tegra/plane.c

@@ -302,8 +302,8 @@ int tegra_plane_format_get_alpha(unsigned int opaque, unsigned int *alpha)
 	return -EINVAL;
 	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;
 	unsigned int index = 0, i;