From 47aea867eefca78feb1e7f7e1184ee5d24417ae8 Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Mon, 14 Jun 2021 17:36:05 +0900 Subject: [PATCH] board: renaming get_device_serial_number Change-Id: Id9a20fa28abc7da7c725fdaf4244eb7116728707 Signed-off-by: Youngjae Cho --- hw/board/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/board/board.c b/hw/board/board.c index 0487abd..5e3b0c8 100644 --- a/hw/board/board.c +++ b/hw/board/board.c @@ -81,7 +81,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) { @@ -114,7 +114,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; *data = (void *)board_funcs; -- 2.34.1