OSDN Git Service

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 bcf9895..aa85b7b 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;