xiaoxiang781216 commented on code in PR #8573:
URL: https://github.com/apache/nuttx/pull/8573#discussion_r1111183879


##########
drivers/mtd/filemtd.c:
##########
@@ -708,3 +735,190 @@ bool filemtd_isfilemtd(FAR struct mtd_dev_s *dev)
 
   return (priv->mtd.erase == filemtd_erase);
 }
+
+/****************************************************************************
+ * Name: mtd_loop_register_driver
+ *
+ * Description:
+ *   Registers MTD Loop Driver
+ ****************************************************************************/
+
+#ifdef CONFIG_MTD_LOOP
+int mtd_loop_register(void)

Review Comment:
   The whole source code just have one private and one public section, 
functions need move to the right place base on whether is static or global 
function.



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to