mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue