xiaoxiang781216 commented on code in PR #6965:
URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r990720773


##########
include/nuttx/wireless/ieee80211/bcmf_gspi.h:
##########
@@ -60,32 +61,32 @@ typedef struct gspi_dev_s
    * following fields before calling gspi_register.
    */
 
-  FAR int  (*init)            (FAR struct gspi_dev_s   *gspi);
+  CODE int  (*init)            (FAR struct gspi_dev_s  *gspi);
 
-  FAR int  (*deinit)          (FAR struct gspi_dev_s   *gspi);
+  CODE int  (*deinit)          (FAR struct gspi_dev_s  *gspi);
 
-  FAR int  (*set_isr)         (FAR struct gspi_dev_s   *gspi,
-                               xcpt_t                   thread_isr,
-                               FAR void                *thread_isr_arg);
+  CODE int  (*set_isr)         (FAR struct gspi_dev_s  *gspi,
+                                xcpt_t                  thread_isr,
+                                FAR void               *thread_isr_arg);
 
-  FAR int  (*interrupt_enable)(FAR struct gspi_dev_s   *gspi,
-                              bool                     enable);
+  CODE int  (*interrupt_enable)(FAR struct gspi_dev_s  *gspi,
+                                bool                    enable);
 
-  FAR int  (*write)           (FAR struct gspi_dev_s  *gspi,
-                               bool                    increment,
-                               enum gspi_cmd_func_e    function,
-                               uint32_t                address,
-                               uint16_t                length,
-                               FAR const uint32_t     *data);
+  CODE int  (*write)           (FAR struct gspi_dev_s *gspi,
+                                bool                   increment,
+                                enum gspi_cmd_func_e   function,
+                                uint32_t               address,
+                                uint16_t               length,
+                                FAR const uint32_t    *data);
 
-  FAR int  (*read)            (FAR struct gspi_dev_s  *gspi,
-                               bool                    increment,
-                               enum gspi_cmd_func_e    function,
-                               uint32_t                address,
-                               uint16_t                length,
-                               FAR uint32_t           *buffer);
+  CODE int  (*read)            (FAR struct gspi_dev_s *gspi,
+                                bool                   increment,
+                                enum gspi_cmd_func_e   function,
+                                uint32_t               address,
+                                uint16_t               length,
+                                FAR uint32_t          *buffer);
 
-  sem_t                exclsem;
+  mutex_t                lock;

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

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

Reply via email to