This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new f7dc54e8693 drivers/rpmsg: use nuttx/atomic.h instead meatl/atomic.h
f7dc54e8693 is described below

commit f7dc54e86934a29e13cb185d5f5d4360e1c75fea
Author: yintao <[email protected]>
AuthorDate: Thu Jan 23 10:56:01 2025 +0800

    drivers/rpmsg: use nuttx/atomic.h instead meatl/atomic.h
    
    All the atomic operation already changed to nuttx's, so change
    the include header too
    
    Signed-off-by: yintao <[email protected]>
---
 include/nuttx/rpmsg/rpmsg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/nuttx/rpmsg/rpmsg.h b/include/nuttx/rpmsg/rpmsg.h
index b6b6a358c92..276b676cb23 100644
--- a/include/nuttx/rpmsg/rpmsg.h
+++ b/include/nuttx/rpmsg/rpmsg.h
@@ -28,10 +28,10 @@
  ****************************************************************************/
 
 #include <nuttx/config.h>
+#include <nuttx/atomic.h>
 
 #ifdef CONFIG_RPMSG
 
-#include <metal/atomic.h>
 #include <nuttx/fs/ioctl.h>
 #include <nuttx/rpmsg/rpmsg_ping.h>
 #include <openamp/rpmsg.h>

Reply via email to