CV-Bowen commented on code in PR #18156:
URL: https://github.com/apache/nuttx/pull/18156#discussion_r2726839513


##########
include/nuttx/rpmsg/rpmsg.h:
##########
@@ -108,6 +107,19 @@ extern "C"
 #define EXTERN extern
 #endif
 
+static inline FAR struct rpmsg_device *
+rpmsg_get_rdev_by_rpmsg(FAR struct rpmsg_s *rpmsg)
+{
+  if (!rpmsg)
+    {
+      return NULL;
+    }
+
+  return (FAR struct rpmsg_device *)(rpmsg + 1);
+}
+
+void rpmsg_initialize(void);

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to