summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/nvhost.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index 1293cec7cd75..382a54f2370c 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -36,7 +36,7 @@ struct nvhost_master;
struct nvhost_device_id {
char name[NVHOST_NAME_SIZE];
- unsigned long driver_data;
+ unsigned long version;
};
struct nvhost_clock {
@@ -52,11 +52,8 @@ enum nvhost_device_powerstate_t {
};
struct nvhost_device {
- /* device name: its format is of type -
- * <name><ip-version>.<instance>
- * e.g.: gr3d01 = gr3d ip version 01 used in tegra2
- * no instance number means hardware supports single instance */
- const char *name;
+ const char *name; /* device name */
+ int version; /* ip version number of device */
struct device dev; /* Linux device struct */
int id; /* Separates clients of same hw */
int index; /* Hardware channel number */