From: Ian Ray Date: Wed, 25 Apr 2018 14:56:58 +0000 (+0200) Subject: board: ge: bx50v3: rename detect_baseboard function X-Git-Tag: v2018.07-rc1~133^2~40 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=63f0ec57f2a2b7335cb7890e87d18f8d69173644;p=oweals%2Fu-boot.git board: ge: bx50v3: rename detect_baseboard function The detect_baseboard() function actually determines whether there is an internal LCD panel or not. Rename for clarity. Signed-off-by: Ian Ray Signed-off-by: Nandor Han Signed-off-by: Sebastian Reichel --- diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index 05142eba51..9d8d4780cf 100644 --- a/board/ge/bx50v3/bx50v3.c +++ b/board/ge/bx50v3/bx50v3.c @@ -361,7 +361,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)) @@ -374,7 +374,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",