From: Thierry Reding Date: Tue, 13 May 2014 14:46:11 +0000 (+0200) Subject: drm/tegra: gem - Make tegra_bo_import() static X-Git-Tag: next-20140516~57^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f00e104dc1650e4493780b0e6f55fcbd85e2e406;p=karo-tx-linux.git 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 --- diff --git a/drivers/gpu/drm/tegra/gem.c b/drivers/gpu/drm/tegra/gem.c index bcf9895cef9f..aa85b7b26f10 100644 --- a/drivers/gpu/drm/tegra/gem.c +++ b/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;