diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2012-06-13 11:57:59 +0300 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-06-14 16:46:27 -0700 |
commit | c986dcfd3bfae55fbab9d27c2be57464011f7b28 (patch) | |
tree | 06173bc125ec7f1ffab2f55d412e45a1c49c7e5e /drivers/video/tegra/host/t20/t20.c | |
parent | adbf834b42fa4a671b36354787bddcde9765e83b (diff) |
video: tegra: host: Remove version from dev name
Remove version from nvhost_device name, and use a new field,
version, to distinguish between IP versions. This restores the
sysfs API for 3D clock scaling back to its original path.
Change-Id: I444ef728b7cab9e5ea3a08f3c7be0f1661209686
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/108501
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/t20/t20.c')
-rw-r--r-- | drivers/video/tegra/host/t20/t20.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/video/tegra/host/t20/t20.c b/drivers/video/tegra/host/t20/t20.c index 9b27c74ffd48..93e73e501ce0 100644 --- a/drivers/video/tegra/host/t20/t20.c +++ b/drivers/video/tegra/host/t20/t20.c @@ -118,7 +118,8 @@ static struct nvhost_device tegra_display01_device = { }; static struct nvhost_device tegra_gr3d01_device = { - .name = "gr3d01", + .name = "gr3d", + .version = 1, .id = -1, .index = 1, .syncpts = BIT(NVSYNCPT_3D), @@ -204,7 +205,8 @@ static struct resource tegra_mpe01_resources[] = { }; static struct nvhost_device tegra_mpe01_device = { - .name = "mpe01", + .name = "mpe", + .version = 1, .id = -1, .resource = tegra_mpe01_resources, .num_resources = ARRAY_SIZE(tegra_mpe01_resources), |