clk/rpmsg: Call clk_rpmsg_server_initialize in drivers_initialize

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-08-10 08:40:43 +08:00 committed by Petro Karashchenko
parent 5f93ae9dd2
commit e6553fc687
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,7 @@
* Included Files
****************************************************************************/
#include <nuttx/clk/clk_provider.h>
#include <nuttx/crypto/crypto.h>
#include <nuttx/drivers/drivers.h>
#include <nuttx/fs/loop.h>
@ -83,6 +84,10 @@ void drivers_initialize(void)
note_register(); /* Non-standard /dev/note */
#endif
#if defined(CONFIG_CLK_RPMSG)
clk_rpmsg_server_initialize();
#endif
/* Initialize the serial device driver */
#ifdef CONFIG_RPMSG_UART