summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;