From: Przemyslaw Marczak
Date: Thu, 13 Nov 2014 14:28:27 +0000 (+0100)
Subject: odroid: change: get_board_type() to get_board_model()
X-Git-Tag: accepted/tizen/common/20141117.155335~11
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=acb0bf49c712b33a0ef360c9bc328b3665392f7e;p=platform%2Fkernel%2Fu-boot.git
odroid: change: get_board_type() to get_board_model()
Change-Id: I7bd58fc246f8f1efc5d657f4015f36e622eb2ca5
Signed-off-by: Przemyslaw Marczak
---
diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c
index a8d0aea..a6b203d 100644
--- a/board/samsung/odroid/odroid.c
+++ b/board/samsung/odroid/odroid.c
@@ -52,11 +52,11 @@ void set_board_type(void)
gd->board_type = ODROID_TYPE_U3;
}
-const char *get_board_type(void)
+const char *get_board_model(void)
{
- const char *board_type[] = {"u3", "x2"};
+ const char *board_model[] = {"u3", "x2"};
- return board_type[gd->board_type];
+ return board_model[gd->board_type];
}
#endif