summaryrefslogtreecommitdiff
path: root/lib/utils/irqchip
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-06-19 00:54:04 +0300
committerAnup Patel <anup.patel@wdc.com>2019-06-19 07:18:59 +0300
commit200ed7c1bdb4d39caf9d0126e3741e72982852b0 (patch)
tree11bff85604758f4af128920635091c42d84f1dfb /lib/utils/irqchip
parent793e5e1184f04012804914bd922e68536f3b68dd (diff)
downloadopensbi-200ed7c1bdb4d39caf9d0126e3741e72982852b0.tar.xz
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.c4
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;