diff options
author | Andrew Chew <achew@nvidia.com> | 2012-08-01 16:39:32 -0700 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2013-03-05 09:41:33 -0800 |
commit | 0bee410db5fdb5a97578b6dc002b7d54fedbfe64 (patch) | |
tree | 35fd2d7752d828e79e5994ea70e8fe060cf571c6 /include | |
parent | 1ff6b9489fbc737e3e2bc7660b92cebbfaea5247 (diff) |
tegra: Make tegra_vi01_device accessible
Make it accessible outside of drivers/video/tegra. V4L2 driver needs
to set some platform_data.
Add suport for T20.
Change-Id: I98353c2874ea28cfa0a7a5dd8a1dc4c586af4dd7
Signed-off-by: Andrew Chew <achew@nvidia.com>
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/200220
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nvhost.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index d7d8ad04653d..add4aeab377d 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h @@ -215,4 +215,8 @@ int nvhost_syncpt_wait_timeout_ext(struct nvhost_device *dev, u32 id, u32 thresh void nvhost_scale3d_set_throughput_hint(int hint); +/* Hacky way to get access to struct nvhost_device tegra_vi01_device. */ +struct nvhost_device *t20_get_tegra_vi01_device(void); +struct nvhost_device *t30_get_tegra_vi01_device(void); + #endif |