diff options
author | Thierry Reding <treding@nvidia.com> | 2014-05-13 10:46:11 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-06-05 17:09:36 -0400 |
commit | 540457cc1fc14707f60b0eddf9df2904ba75c269 (patch) | |
tree | 199e12deed2360e7197a5d197be259af4c411390 | |
parent | fb7be70e730ceda5a6da2751c30c7063a1edde4b (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/tegra/gem.c | 3 |
1 files changed, 2 insertions, 1 deletions
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: | |||
169 | return ERR_PTR(ret); | 169 | return ERR_PTR(ret); |
170 | } | 170 | } |
171 | 171 | ||
172 | struct tegra_bo *tegra_bo_import(struct drm_device *drm, struct dma_buf *buf) | 172 | static struct tegra_bo *tegra_bo_import(struct drm_device *drm, |
173 | struct dma_buf *buf) | ||
173 | { | 174 | { |
174 | struct dma_buf_attachment *attach; | 175 | struct dma_buf_attachment *attach; |
175 | struct tegra_bo *bo; | 176 | struct tegra_bo *bo; |