projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb7be70
)
drm/tegra: gem - Make tegra_bo_import() static
author
Thierry Reding
<treding@nvidia.com>
Tue, 13 May 2014 14:46:11 +0000
(16:46 +0200)
committer
Thierry 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/gem.c
b/drivers/gpu/drm/tegra/gem.c
index
bcf9895
..
aa85b7b
100644
(file)
--- 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;