Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -1
+2 -1
drivers/gpu/drm/tegra/gem.c
··· 169 169 return ERR_PTR(ret); 170 170 } 171 171 172 - struct tegra_bo *tegra_bo_import(struct drm_device *drm, struct dma_buf *buf) 172 + static struct tegra_bo *tegra_bo_import(struct drm_device *drm, 173 + struct dma_buf *buf) 173 174 { 174 175 struct dma_buf_attachment *attach; 175 176 struct tegra_bo *bo;