summaryrefslogtreecommitdiff
path: root/src/drivers/mipi/panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/mipi/panel.c')
-rw-r--r--src/drivers/mipi/panel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/mipi/panel.c b/src/drivers/mipi/panel.c
index f1d87c32d1..9646ecaa86 100644
--- a/src/drivers/mipi/panel.c
+++ b/src/drivers/mipi/panel.c
@@ -4,7 +4,7 @@
#include <delay.h>
#include <mipi/panel.h>
-cb_err_t mipi_panel_parse_init_commands(const void *buf, mipi_cmd_func_t cmd_func)
+enum cb_err mipi_panel_parse_init_commands(const void *buf, mipi_cmd_func_t cmd_func)
{
const struct panel_init_command *init = buf;
enum mipi_dsi_transaction type;
@@ -68,7 +68,7 @@ cb_err_t mipi_panel_parse_init_commands(const void *buf, mipi_cmd_func_t cmd_fun
return CB_ERR;
}
- cb_err_t ret = cmd_func(type, init->data, len);
+ enum cb_err ret = cmd_func(type, init->data, len);
if (ret != CB_SUCCESS)
return ret;
buf += len;