Thread (1 message) 1 message, 1 author, 2017-05-22
DORMANTno replies

[PATCH 7/7] v4l2-async: Make fwnode const

From: Sakari Ailus <hidden>
Date: 2017-05-22 09:07:42
Also in: linux-acpi
Subsystem: media input infrastructure (v4l/dvb), the rest, v4l2 async and fwnode frameworks · Maintainers: Mauro Carvalho Chehab, Linus Torvalds, Sakari Ailus

It can be const now.

Signed-off-by: Sakari Ailus <sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
---
 include/media/v4l2-async.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/media/v4l2-async.h b/include/media/v4l2-async.h
index c69d8c8..056cae0 100644
--- a/include/media/v4l2-async.h
+++ b/include/media/v4l2-async.h
@@ -55,7 +55,7 @@ struct v4l2_async_subdev {
 	enum v4l2_async_match_type match_type;
 	union {
 		struct {
-			struct fwnode_handle *fwnode;
+			const struct fwnode_handle *fwnode;
 		} fwnode;
 		struct {
 			const char *name;
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help