summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2021-06-14 10:53:57 +0900
committerYoungjae Cho <y0.cho@samsung.com>2021-06-14 10:53:57 +0900
commit01650a53eac46ae433aea8c6c487cc080d91b26c (patch)
treeb6e1446cc30bfccf58669d6c0e20abf62cdaaba0
parentd7451d5ec2dc7c3fefa4b444077e07d6f6b381a0 (diff)
downloaddevice-rpi-01650a53eac46ae433aea8c6c487cc080d91b26c.tar.gz
device-rpi-01650a53eac46ae433aea8c6c487cc080d91b26c.tar.bz2
device-rpi-01650a53eac46ae433aea8c6c487cc080d91b26c.zip
board: renaming get_device_serial_number
Change-Id: I79a94dc5418c83994bd39fedf1504c6c59f32325 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 56a2d7d..d22b204 100644
--- a/hw/board/board.c
+++ b/hw/board/board.c
@@ -28,7 +28,7 @@
#define SERIAL_FILE_PATH "/sys/firmware/devicetree/base/serial-number"
#define LINE_LEN 64
-static int get_device_serial(char **out)
+static int get_device_serial_number(char **out)
{
FILE *fp;
char *line, *p;
@@ -57,7 +57,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;