]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
video: tegra: host: support host1xb node name
authorDeepak Nibade <dnibade@nvidia.com>
Mon, 22 Jun 2015 10:41:05 +0000 (16:11 +0530)
committerDeepak Nibade <dnibade@nvidia.com>
Wed, 24 Jun 2015 06:59:50 +0000 (23:59 -0700)
Add "host1xb" name in tegra_host1x_of_match so that
this name can also be used from device tree

bug 1611482

Change-Id: I1e19ea6eef4c005ec28035b1ba4940792eaa7489
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/760754
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
drivers/video/tegra/host/host1x/host1x.c

index a62215367b2eb8f5f7df2e91eb423e4aa3cd0cc5..c3583a6c7b36acad7411e20f520b78851e97e782 100644 (file)
@@ -752,8 +752,12 @@ static struct of_device_id tegra_host1x_of_match[] = {
                .data = (struct nvhost_device_data *)&t21_host1x_info },
 #endif
 #ifdef CONFIG_ARCH_TEGRA_18x_SOC
-       { .compatible = "nvidia,tegra186-host1x",
+       { .name = "host1x",
+               .compatible = "nvidia,tegra186-host1x",
                .data = (struct nvhost_device_data *)&t18_host1x_info },
+       { .name = "host1xb",
+               .compatible = "nvidia,tegra186-host1x",
+               .data = (struct nvhost_device_data *)&t18_host1xb_info },
        { .compatible = "nvidia,tegra186-host1x-cl34000094",
                .data = (struct nvhost_device_data *)&t18_host1x_info },
 #endif