diff options
author | Mayuresh Kulkarni <mkulkarni@nvidia.com> | 2012-02-13 20:34:41 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-03-21 08:44:15 -0700 |
commit | a0f946efbef9caa197ad2048d45722f65618d6c3 (patch) | |
tree | 1d92dfe33f44c8119cfe4a141812f6d3b9309926 /include | |
parent | 4e1ec69f7c1b5a259d7df0435647e9005f1e033c (diff) |
video: tegra: host: refactor for upstreaming
- split the nvhost clients into their own directories
- each client is a nvhost_device and nvhost_driver
- all the code related to host1x control node is centralized
at single place in dev.c
- all the code related to host1x modules nodes is centralized
at single place in bus_client.c
- update the copyright notice & year for new files
Bug 871237
Change-Id: Ief85064699e35ad02b48a7e54496928d7f085af4
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/83491
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nvhost.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index bc1d9d76b9a3..da5e1e6862c6 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h @@ -49,6 +49,7 @@ struct nvhost_device { const char *name; /* Device name */ struct device dev; /* Linux device struct */ int id; /* Separates clients of same hw */ + int index; /* Hardware channel number */ u32 num_resources; /* Number of resources following */ struct resource *resource; /* Resources (IOMEM in particular) */ struct resource *reg_mem; |