diff options
author | Mayuresh Kulkarni <mkulkarni@nvidia.com> | 2012-01-20 13:44:06 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-01-31 04:17:37 -0800 |
commit | 4bea73c207fa4099df484b196508283a0c5b183c (patch) | |
tree | 6b26b5a7cdc2a44c4a72823058ce53566216c299 /drivers/video/tegra/host/dev.c | |
parent | d1a9ccde7c4ab7b5aa140c2fddf9edc10b20efc3 (diff) |
video: tegra: host: initialize id of hostdev to -1
This ensures that host1x's name is host1x, and not host1x.0
Reviewed-on: http://git-master/r/75505
Change-Id: I91d9dcbec108ee7f35dc638ed9370552f6eaa164
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78009
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/dev.c')
-rw-r--r-- | drivers/video/tegra/host/dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/dev.c b/drivers/video/tegra/host/dev.c index be8fc987e7cc..4cd1e4eaf843 100644 --- a/drivers/video/tegra/host/dev.c +++ b/drivers/video/tegra/host/dev.c @@ -905,6 +905,7 @@ static int __devinit nvhost_init_chip_support(struct nvhost_master *host) struct nvhost_device hostdev = { .name = "host1x", + .id = -1, .finalize_poweron = power_on_host, .prepare_poweroff = power_off_host, .clocks = {{"host1x", UINT_MAX}, {} }, |