diff mbox series

[U-Boot,PATCHv1,1/7] board: ge: bx50v3: rename detect_baseboard function

Message ID 20180425145704.30841-2-sebastian.reichel@collabora.co.uk
State Accepted
Commit 63f0ec57f2a2b7335cb7890e87d18f8d69173644
Delegated to: Stefano Babic
Headers show
Series Merge B850v3, B650v3 and B450v3 targets | expand

Commit Message

Sebastian Reichel April 25, 2018, 2:56 p.m. UTC
From: Ian Ray <ian.ray@ge.com>

The detect_baseboard() function actually determines whether there is an
internal LCD panel or not.  Rename for clarity.

Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Nandor Han <nandor.han@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
---
 board/ge/bx50v3/bx50v3.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c
index 46321ae666f1..72a2e3304bac 100644
--- a/board/ge/bx50v3/bx50v3.c
+++ b/board/ge/bx50v3/bx50v3.c
@@ -362,7 +362,7 @@  int board_cfb_skip(void)
 	return 0;
 }
 
-static int detect_baseboard(struct display_info_t const *dev)
+static int detect_lcd(struct display_info_t const *dev)
 {
 	if (IS_ENABLED(CONFIG_TARGET_GE_B450V3) ||
 	    IS_ENABLED(CONFIG_TARGET_GE_B650V3))
@@ -375,7 +375,7 @@  struct display_info_t const displays[] = {{
 	.bus	= -1,
 	.addr	= -1,
 	.pixfmt	= IPU_PIX_FMT_RGB24,
-	.detect	= detect_baseboard,
+	.detect	= detect_lcd,
 	.enable	= NULL,
 	.mode	= {
 		.name           = "G121X1-L03",