Commit 540457cc authored by Thierry Reding's avatar Thierry Reding

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: default avatarThierry Reding <treding@nvidia.com>
parent fb7be70e
...@@ -169,7 +169,8 @@ struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file, ...@@ -169,7 +169,8 @@ struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file,
return ERR_PTR(ret); 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 dma_buf_attachment *attach;
struct tegra_bo *bo; struct tegra_bo *bo;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment