summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2021-06-14 17:35:41 +0900
committerYoungjae Cho <y0.cho@samsung.com>2021-06-14 17:42:00 +0900
commitedff20aa4674443634d4e09866aaf64fdc197754 (patch)
treef0279a18e6317b15c925f4ea25f2e20cce430c6a
parent1f7769239cdf7fe41f903c1bc30d3fd32a1d7e26 (diff)
downloaddevice-tm1-edff20aa4674443634d4e09866aaf64fdc197754.tar.gz
device-tm1-edff20aa4674443634d4e09866aaf64fdc197754.tar.bz2
device-tm1-edff20aa4674443634d4e09866aaf64fdc197754.zip
Change-Id: I5b56097c3ab65162560521233919bd3f6f794be5 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-rw-r--r--hw/board/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/board/board.c b/hw/board/board.c
index 7b1c384..e9d11fc 100644
--- a/hw/board/board.c
+++ b/hw/board/board.c
@@ -115,7 +115,7 @@ static int get_serialno_from_cpuinfo(void)
return -EIO;
}
-static int get_device_serial(char **out)
+static int get_device_serial_number(char **out)
{
int ret;
if (info.serial_len > 0 && strlen(info.serial) == info.serial_len) {
@@ -193,7 +193,7 @@ static int board_init(void **data)
if (!board_funcs)
return -ENOMEM;
- board_funcs->get_device_serial = get_device_serial;
+ board_funcs->get_device_serial_number = get_device_serial_number;
board_funcs->get_device_revision = get_device_revision;
*data = (void *)board_funcs;