board: renaming get_device_serial_number 85/259785/1 accepted/tizen/unified/20210615.120354 submit/tizen/20210614.021455
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 14 Jun 2021 08:34:53 +0000 (17:34 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 14 Jun 2021 08:40:13 +0000 (17:40 +0900)
Change-Id: I0ca0e340484a563541283501b87d80456c0ecdb7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
hw/board/board.c

index d024e449ed06cb2ab7c430d16d9013560d2d5cc9..bd18ddcf96c24607be7a522895e102d884375927 100644 (file)
@@ -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;