clk/rpmsg: Call clk_rpmsg_server_initialize in drivers_initialize
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
5f93ae9dd2
commit
e6553fc687
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue