aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-12-12 04:10:46 -0500
committerThierry Reding <treding@nvidia.com>2013-12-19 03:29:54 -0500
commit425c0fdc427440fdaf039a649eab713d932fa368 (patch)
treecde840a56e4850e47ebb03b19751c144bd805de6
parentf1f34ad56456a10262970d56a59931d00346190c (diff)
drm/tegra: Do not export tegra_bo_ops
These buffer object operations are never used outside of the GEM implementation so there is no use in exporting them. Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--drivers/gpu/drm/tegra/gem.c2
-rw-r--r--drivers/gpu/drm/tegra/gem.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/tegra/gem.c b/drivers/gpu/drm/tegra/gem.c
index de0a9e6207e2..7741e3355c98 100644
--- a/drivers/gpu/drm/tegra/gem.c
+++ b/drivers/gpu/drm/tegra/gem.c
@@ -83,7 +83,7 @@ static struct host1x_bo *tegra_bo_get(struct host1x_bo *bo)
83 return bo; 83 return bo;
84} 84}
85 85
86const struct host1x_bo_ops tegra_bo_ops = { 86static const struct host1x_bo_ops tegra_bo_ops = {
87 .get = tegra_bo_get, 87 .get = tegra_bo_get,
88 .put = tegra_bo_put, 88 .put = tegra_bo_put,
89 .pin = tegra_bo_pin, 89 .pin = tegra_bo_pin,
diff --git a/drivers/gpu/drm/tegra/gem.h b/drivers/gpu/drm/tegra/gem.h
index 7674000bf47d..007e0befcb9c 100644
--- a/drivers/gpu/drm/tegra/gem.h
+++ b/drivers/gpu/drm/tegra/gem.h
@@ -40,8 +40,6 @@ static inline struct tegra_bo *to_tegra_bo(struct drm_gem_object *gem)
40 return container_of(gem, struct tegra_bo, gem); 40 return container_of(gem, struct tegra_bo, gem);
41} 41}
42 42
43extern const struct host1x_bo_ops tegra_bo_ops;
44
45struct tegra_bo *tegra_bo_create(struct drm_device *drm, unsigned int size, 43struct tegra_bo *tegra_bo_create(struct drm_device *drm, unsigned int size,
46 unsigned long flags); 44 unsigned long flags);
47struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file, 45struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file,