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: v4.9.8~6258^2~9^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=540457cc1fc14707f60b0eddf9df2904ba75c269;p=platform%2Fkernel%2Flinux-rpi3.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 bcf9895..aa85b7b 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;