projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/gem.c
b/drivers/gpu/drm/tegra/gem.c
index bcf9895cef9f2c06870d1ef90c427fdb7d1303af..aa85b7b26f105e5d7528358d6c150b1cc33d8a4e 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;