expo: Rename exp_set_text_mode()
Rename this function to match its peers, using the full "expo' prefix.
Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c
index de0f445..7c1abe5 100644
--- a/boot/bootflow_menu.c
+++ b/boot/bootflow_menu.c
@@ -209,7 +209,7 @@
return log_msg_ret("scn", ret);
if (text_mode)
- exp_set_text_mode(exp, text_mode);
+ expo_set_text_mode(exp, text_mode);
done = false;
do {
diff --git a/boot/expo.c b/boot/expo.c
index bfdda95..e7c81a3 100644
--- a/boot/expo.c
+++ b/boot/expo.c
@@ -97,7 +97,7 @@
return 0;
}
-void exp_set_text_mode(struct expo *exp, bool text_mode)
+void expo_set_text_mode(struct expo *exp, bool text_mode)
{
exp->text_mode = text_mode;
}
diff --git a/include/expo.h b/include/expo.h
index 06f5629..f77ee70 100644
--- a/include/expo.h
+++ b/include/expo.h
@@ -306,12 +306,12 @@
int expo_render(struct expo *exp);
/**
- * exp_set_text_mode() - Controls whether the expo renders in text mode
+ * expo_set_text_mode() - Controls whether the expo renders in text mode
*
* @exp: Expo to update
* @text_mode: true to use text mode, false to use the console
*/
-void exp_set_text_mode(struct expo *exp, bool text_mode);
+void expo_set_text_mode(struct expo *exp, bool text_mode);
/**
* scene_new() - create a new scene in a expo
diff --git a/test/boot/expo.c b/test/boot/expo.c
index 56a22ba..70750d3 100644
--- a/test/boot/expo.c
+++ b/test/boot/expo.c
@@ -507,7 +507,7 @@
ut_assert_console_end();
/* now try in text mode */
- exp_set_text_mode(exp, true);
+ expo_set_text_mode(exp, true);
ut_assertok(expo_render(exp));
ut_assert_nextline("U-Boot : Boot Menu");