From: Thierry Reding Date: Tue, 13 May 2014 14:46:11 +0000 (+0200) Subject: drm/tegra: gem - Make tegra_bo_import() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=540457cc1fc14707f60b0eddf9df2904ba75c269;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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;