소스 검색

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 11 년 전
부모
커밋
540457cc1f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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);
 	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 dma_buf_attachment *attach;
 	struct tegra_bo *bo;
 	struct tegra_bo *bo;