Commit 425c0fdc authored by Thierry Reding's avatar Thierry Reding

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: default avatarThierry Reding <treding@nvidia.com>
parent f1f34ad5
...@@ -83,7 +83,7 @@ static struct host1x_bo *tegra_bo_get(struct host1x_bo *bo) ...@@ -83,7 +83,7 @@ static struct host1x_bo *tegra_bo_get(struct host1x_bo *bo)
return bo; return bo;
} }
const struct host1x_bo_ops tegra_bo_ops = { static const struct host1x_bo_ops tegra_bo_ops = {
.get = tegra_bo_get, .get = tegra_bo_get,
.put = tegra_bo_put, .put = tegra_bo_put,
.pin = tegra_bo_pin, .pin = tegra_bo_pin,
......
...@@ -40,8 +40,6 @@ static inline struct tegra_bo *to_tegra_bo(struct drm_gem_object *gem) ...@@ -40,8 +40,6 @@ static inline struct tegra_bo *to_tegra_bo(struct drm_gem_object *gem)
return container_of(gem, struct tegra_bo, gem); return container_of(gem, struct tegra_bo, gem);
} }
extern const struct host1x_bo_ops tegra_bo_ops;
struct tegra_bo *tegra_bo_create(struct drm_device *drm, unsigned int size, struct tegra_bo *tegra_bo_create(struct drm_device *drm, unsigned int size,
unsigned long flags); unsigned long flags);
struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file, struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file,
......
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