Thread (53 messages) 53 messages, 5 authors, 2018-06-14
STALE2955d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 05/24] serdev: Introduce modalias field

From: Ricardo Ribalda Delgado <hidden>
Date: 2018-06-11 11:53:09
Also in: lkml
Subsystem: serial device bus, the rest · Maintainers: Rob Herring, Linus Torvalds

Name of the driver to use with this device, or an alias for that name,
or an alias for the part.
Required for hardware that is neither an of_node nor part of the ACPI
table.

Cc: Rob Herring <robh@kernel.org>
Cc: Johan Hovold <johan@kernel.org>
Signed-off-by: Ricardo Ribalda Delgado <redacted>
---
 include/linux/serdev.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/linux/serdev.h b/include/linux/serdev.h
index 62f1b085a794..bb3b9599c652 100644
--- a/include/linux/serdev.h
+++ b/include/linux/serdev.h
@@ -54,6 +54,7 @@ struct serdev_device {
 	const struct serdev_device_ops *ops;
 	struct completion write_comp;
 	struct mutex write_lock;
+	char modalias[SERDEV_NAME_SIZE];
 };
 
 static inline struct serdev_device *to_serdev_device(struct device *d)
-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help