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: v6.6-pxa1908~23151^2~9^2~20 X-Git-Url: https://git.dujemihanovic.xyz/?a=commitdiff_plain;h=540457cc1fc14707f60b0eddf9df2904ba75c269;p=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;