diff options
author | Atish Patra <atish.patra@wdc.com> | 2019-06-18 14:54:04 -0700 |
---|---|---|
committer | Anup Patel <anup.patel@wdc.com> | 2019-06-19 09:48:59 +0530 |
commit | 200ed7c1bdb4d39caf9d0126e3741e72982852b0 (patch) | |
tree | 11bff85604758f4af128920635091c42d84f1dfb /lib/utils/irqchip | |
parent | 793e5e1184f04012804914bd922e68536f3b68dd (diff) |
lib: Rename string.x to sbi_string.x
All string functions are part of libsbi. It makes more sense
to rename them to sbi_string.x as the libsbi can be linked
with external libraries that can have similar implementation.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Acked-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/utils/irqchip')
-rw-r--r-- | lib/utils/irqchip/plic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/irqchip/plic.c b/lib/utils/irqchip/plic.c index 2131707..9cc2108 100644 --- a/lib/utils/irqchip/plic.c +++ b/lib/utils/irqchip/plic.c @@ -10,7 +10,7 @@ #include <sbi/riscv_io.h> #include <sbi/riscv_encoding.h> #include <sbi/sbi_console.h> -#include <sbi/string.h> +#include <sbi/sbi_string.h> #include <sbi_utils/tinyfdt.h> #include <sbi_utils/irqchip/plic.h> @@ -54,7 +54,7 @@ static void plic_fdt_fixup_prop(const struct fdt_node *node, if (!prop) return; - if (strcmp(prop->name, "interrupts-extended")) + if (sbi_strcmp(prop->name, "interrupts-extended")) return; cells = prop->value; |