]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/tegra: gem - Make tegra_bo_import() static
authorThierry Reding <treding@nvidia.com>
Tue, 13 May 2014 14:46:11 +0000 (16:46 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 5 Jun 2014 21:09:36 +0000 (23:09 +0200)
The function is never used outside of the source file and therefore can
be locally scoped.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gem.c

index bcf9895cef9f2c06870d1ef90c427fdb7d1303af..aa85b7b26f105e5d7528358d6c150b1cc33d8a4e 100644 (file)
@@ -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;