You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/11/07 09:14:26 UTC
[incubator-nuttx] branch master updated: drivers/mbox: Don't reference the nonexistent CONFIG_MBOX
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new ace71efe77 drivers/mbox: Don't reference the nonexistent CONFIG_MBOX
ace71efe77 is described below
commit ace71efe776635149b31a605ff5cdde564c66b2c
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Nov 5 20:07:21 2022 +0800
drivers/mbox: Don't reference the nonexistent CONFIG_MBOX
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
include/nuttx/mbox/mbox.h | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/include/nuttx/mbox/mbox.h b/include/nuttx/mbox/mbox.h
index 097b04a515..565a66fdd2 100644
--- a/include/nuttx/mbox/mbox.h
+++ b/include/nuttx/mbox/mbox.h
@@ -21,14 +21,14 @@
#ifndef __INCLUDE_NUTTX_MBOX_MBOX_H
#define __INCLUDE_NUTTX_MBOX_MBOX_H
-#ifdef CONFIG_MBOX
-
/****************************************************************************
* Included Files
****************************************************************************/
-#include <nuttx/config.h>
+#include <nuttx/compiler.h>
+
#include <stdbool.h>
+#include <stdint.h>
/****************************************************************************
* Pre-processor Definitions
@@ -127,5 +127,4 @@ extern "C"
}
#endif
-#endif /* CONFIG_MBOX */
#endif /* __INCLUDE_NUTTX_MBOX_MBOX_H */