summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-05-13 16:46:11 +0200
committerThierry Reding <treding@nvidia.com>2014-06-05 23:09:36 +0200
commit540457cc1fc14707f60b0eddf9df2904ba75c269 (patch)
tree199e12deed2360e7197a5d197be259af4c411390 /drivers/gpu/drm/tegra
parentfb7be70e730ceda5a6da2751c30c7063a1edde4b (diff)
downloadop-kernel-dev-540457cc1fc14707f60b0eddf9df2904ba75c269.zip
op-kernel-dev-540457cc1fc14707f60b0eddf9df2904ba75c269.tar.gz
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 <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r--drivers/gpu/drm/tegra/gem.c3
1 files changed, 2 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud