From a0f946efbef9caa197ad2048d45722f65618d6c3 Mon Sep 17 00:00:00 2001 From: Mayuresh Kulkarni Date: Mon, 13 Feb 2012 20:34:41 +0530 Subject: 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 Reviewed-on: http://git-master/r/83491 Reviewed-by: Rohan Somvanshi Tested-by: Rohan Somvanshi --- include/linux/nvhost.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.3