path: root/include
diff options
authorTerje Bergstrom <>2012-05-22 15:23:13 +0300
committerSimone Willett <>2012-06-14 16:29:46 -0700
commit9774bbe31a0741ad71929156f59afdb2aba4eae5 (patch)
tree97246003d1c10c6bf934d4080e01492c50acbdb8 /include
parentd02edba6153149b30fbbd5eb9dec91f42eb0d732 (diff)
video: tegra: host: Register devices in SoC files
Move the device structures to the driver source code files. Register all nvhost_device's in one loop which is called from board file. host1x driver code is moved to live under host1x, too. This causes a need to add host to include path of tegradc and nvavp. Bug 982965 Change-Id: If99cf9d1ef6bc24663ee8294c19370429ed04ca7 Signed-off-by: Terje Bergstrom <> Reviewed-on: http://git-master/r/104076 Reviewed-by: Simone Willett <> Tested-by: Simone Willett <>
Diffstat (limited to 'include')
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index 82bb884dfbbd..1293cec7cd75 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -94,6 +94,9 @@ struct nvhost_device {
struct nvhost_channel *channel; /* Channel assigned for the module */
+/* Register devices to nvhost bus */
+extern int nvhost_add_devices(struct nvhost_device **, int num);
/* Register device to nvhost bus */
extern int nvhost_device_register(struct nvhost_device *);