summaryrefslogtreecommitdiff
path: root/include/driver/ln9310.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver/ln9310.h')
-rw-r--r--include/driver/ln9310.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/driver/ln9310.h b/include/driver/ln9310.h
index b7954a70f3..0ae7af4c4c 100644
--- a/include/driver/ln9310.h
+++ b/include/driver/ln9310.h
@@ -210,8 +210,12 @@ struct ln9310_config_t {
/* Configuration struct defined at board level */
extern const struct ln9310_config_t ln9310_config;
-/* Init the driver */
-void ln9310_init(void);
+/**
+ * @brief Init the driver
+ *
+ * @return EC_SUCCESS when initialization was complete.
+ */
+int ln9310_init(void);
/* Enable/disable the ln9310 output */
void ln9310_software_enable(int enable);