Explorar o código

drm/tegra: gem - Make tegra_bo_import() static

The function is never used outside of the source file and therefore can
be locally scoped.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Thierry Reding %!s(int64=11) %!d(string=hai) anos
pai
achega
540457cc1f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      drivers/gpu/drm/tegra/gem.c

+ 2 - 1
drivers/gpu/drm/tegra/gem.c

@@ -169,7 +169,8 @@ err:
 	return ERR_PTR(ret);
 }
 
-struct tegra_bo *tegra_bo_import(struct drm_device *drm, struct dma_buf *buf)
+static struct tegra_bo *tegra_bo_import(struct drm_device *drm,
+					struct dma_buf *buf)
 {
 	struct dma_buf_attachment *attach;
 	struct tegra_bo *bo;