summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-11-20 02:25:26 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-11-20 02:25:25 -0800
commitee74cee88fe6bff3827d35d21b35bcb6c5c626bd (patch)
tree676852ab1cdfe7bad3c6125a9a94e798f5b2c0a3 /include/linux
parenta6253cc1ad8dfb3f9036d374f151babcbe294b96 (diff)
parenta772e4964b4afe9a728d241e152ba35fcba0e078 (diff)
Merge "include: Add device table definition for MHI drivers"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mod_devicetable.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index f5349823d0d2..66595321dfe3 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -677,4 +677,16 @@ struct ulpi_device_id {
kernel_ulong_t driver_data;
};
+#define MHI_NAME_SIZE 32
+
+/**
+ * struct mhi_device_id - MHI device identification
+ * @chan: MHI channel name
+ * @driver_data: driver data
+ */
+struct mhi_device_id {
+ const char chan[MHI_NAME_SIZE];
+ kernel_ulong_t driver_data;
+};
+
#endif /* LINUX_MOD_DEVICETABLE_H */