drivers/mbox: Don't reference the nonexistent CONFIG_MBOX

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-05 20:07:21 +08:00 committed by Petro Karashchenko
parent a7e99346a1
commit ace71efe77
1 changed files with 3 additions and 4 deletions

View File

@ -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 */