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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




It can be const now.

Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux