power/supply: Call regulator_rpmsg_server_init in drivers_initialize
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
e6553fc687
commit
d8cd4d3e48
@ -32,6 +32,7 @@
|
||||
#include <nuttx/net/telnet.h>
|
||||
#include <nuttx/note/note_driver.h>
|
||||
#include <nuttx/power/pm.h>
|
||||
#include <nuttx/power/regulator.h>
|
||||
#include <nuttx/sensors/sensor.h>
|
||||
#include <nuttx/serial/pty.h>
|
||||
#include <nuttx/syslog/syslog.h>
|
||||
@ -88,6 +89,10 @@ void drivers_initialize(void)
|
||||
clk_rpmsg_server_initialize();
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_REGULATOR_RPMSG)
|
||||
regulator_rpmsg_server_init();
|
||||
#endif
|
||||
|
||||
/* Initialize the serial device driver */
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
|
Loading…
x
Reference in New Issue
Block a user