summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2021-06-14 02:10:44 +0000
committerGerrit Code Review <gerrit@review>2021-06-14 02:10:44 +0000
commit40a557e7adfebc1182e0ab2db681765bab87a3b7 (patch)
treeeb438adfcc93e8f44057ce059ef2a2dffa0a4c06
parented6fb8c86ac03c1d66816a7f47269c0c20b4ae19 (diff)
parent01650a53eac46ae433aea8c6c487cc080d91b26c (diff)
downloaddevice-rpi-40a557e7adfebc1182e0ab2db681765bab87a3b7.tar.gz
device-rpi-40a557e7adfebc1182e0ab2db681765bab87a3b7.tar.bz2
device-rpi-40a557e7adfebc1182e0ab2db681765bab87a3b7.zip
Merge "board: renaming get_device_serial_number" into tizensubmit/tizen/20210614.021455accepted/tizen/unified/20210615.120433
-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;