aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/fdt/fdt_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/fdt/fdt_helper.c')
-rw-r--r--lib/utils/fdt/fdt_helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/utils/fdt/fdt_helper.c b/lib/utils/fdt/fdt_helper.c
index c6abf80..6a75d6f 100644
--- a/lib/utils/fdt/fdt_helper.c
+++ b/lib/utils/fdt/fdt_helper.c
@@ -401,8 +401,8 @@ int fdt_parse_sifive_uart_node(void *fdt, int nodeoffset,
return 0;
}
-int fdt_parse_uart8250_node(void *fdt, int nodeoffset,
- struct platform_uart_data *uart)
+int fdt_parse_uart_node(void *fdt, int nodeoffset,
+ struct platform_uart_data *uart)
{
int len, rc;
const fdt32_t *val;
@@ -447,7 +447,7 @@ int fdt_parse_uart8250(void *fdt, struct platform_uart_data *uart,
if (nodeoffset < 0)
return nodeoffset;
- return fdt_parse_uart8250_node(fdt, nodeoffset, uart);
+ return fdt_parse_uart_node(fdt, nodeoffset, uart);
}
int fdt_parse_xlnx_uartlite_node(void *fdt, int nodeoffset,