From: Dmitry Osipenko Date: Thu, 15 Mar 2018 10:37:05 +0000 (+0100) Subject: drm/tegra: plane: Make tegra_plane_get_overlap_index() static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5e2e86f12cba9591b4ad3c1e7f76e149319af9e7;p=linux.git 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 Signed-off-by: Thierry Reding --- diff --git a/drivers/gpu/drm/tegra/plane.c b/drivers/gpu/drm/tegra/plane.c index 36a06a9936982..95ffaae06f08a 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;