lib: utils: Rename fdt_parse_clint() to fdt_parse_compat_addr()
The fdt_parse_clint() is quite generic and can be used for other types of devices so we rename it to fdt_parse_compat_addr(). Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
1 parent
243b0d0c0c
commit
e3ad7c13a0
3 files changed
+7
-7
No files matched your search
@@ -32,7 +32,7 @@ int fdt_parse_uart8250(void *fdt, struct platform_uart_data *uart,
|
||||
int fdt_parse_plic(void *fdt, struct platform_plic_data *plic,
|
||||
const char *compatible);
|
||||
|
||||
int fdt_parse_clint(void *fdt, unsigned long *clint_addr,
|
||||
const char *compatible);
|
||||
int fdt_parse_compat_addr(void *fdt, unsigned long *addr,
|
||||
const char *compatible);
|
||||
|
||||
#endif /* __FDT_HELPER_H__ */
|
||||
Reference in new issue
Block a user