video: tegra: host: re-org #include files
authorMayuresh Kulkarni <mkulkarni@nvidia.com>
Fri, 21 Dec 2012 13:24:07 +0000 (18:24 +0530)
committerHarshada Kale <hkale@nvidia.com>
Wed, 15 May 2013 10:48:37 +0000 (03:48 -0700)
commit6d4aa2e089c10069d4085c6a181a359dda0f5706
treeb2a984f304f920e33d7ad9c4f55af827042f8cde
parent57e4a3bb32974485588992d4254151806b7904c2
video: tegra: host: re-org #include files

- this commit ensures that nvhost_device_data is
populated from single source file (txxx.c)
- to do this, change some header files to include
the driver specific function pointers and include
them in txxx.c.
- extern the nvhost_device_data of each
device per SOC so that it is accessible from
individual driver files when device-tree support
is added. this way each driver will match the
compatible property and get its platform_data via
match->data. no-device-tree path is untouched

this is in preparation for adding device tree support

bug 1041377

Change-Id: Ie80914cbc8fe41e08f1797ad4fee840261b04999
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/173024
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
(cherry picked from commit e3c92587b81c720e3a23df92d6af33894349a156)
Reviewed-on: http://git-master/r/221885
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>
drivers/video/tegra/host/gr2d/gr2d.c
drivers/video/tegra/host/gr3d/gr3d.c
drivers/video/tegra/host/mpe/mpe.c
drivers/video/tegra/host/mpe/mpe.h
drivers/video/tegra/host/t114/t114.c
drivers/video/tegra/host/t114/t114.h
drivers/video/tegra/host/t20/t20.c
drivers/video/tegra/host/t20/t20.h
drivers/video/tegra/host/t30/t30.c
drivers/video/tegra/host/t30/t30.h
drivers/video/tegra/host/vi/vi.h