power/supply: Call regulator_rpmsg_server_init in drivers_initialize
#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
