video: tegra: host: Fix nvhost_device_data parse in case of DT
authorMin-wuk Lee <mlee@nvidia.com>
Thu, 16 May 2013 06:32:04 +0000 (15:32 +0900)
committerHarshada Kale <hkale@nvidia.com>
Fri, 17 May 2013 13:20:15 +0000 (06:20 -0700)
commitb964f694700e23ad1985ac1c5f52fa3faa20691c
treeb685a7712fed83e9c7fe3f6c5980fd99dd7e0a3e
parent8f41e0efe657a0d88d73d208d56695e1dc6e25cf
video: tegra: host: Fix nvhost_device_data parse in case of DT

If host1x and its client are registered by device tree,
fix of parsing nvhost_device_data in vi module is needed.
Both DT and non-DT can utilize general platform_get_drvdata

Bug 1240921

Change-Id: I2ac2105091b864f8c5bf83f24cb747998f4f0be9
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/229222
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/vi/vi.c