summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2022-05-13 06:57:12 +0300
committerAnup Patel <anup@brainfault.org>2022-05-13 06:57:12 +0300
commit4eacd8229b63bcc220fbdaa4c294ea5ae8c978f0 (patch)
treeca4e10ff4088cb50fbba6424bd1bb0b647fa1248 /include
parent998ed43fde10c64b3e949a904746464b23796971 (diff)
downloadopensbi-4eacd8229b63bcc220fbdaa4c294ea5ae8c978f0.tar.xz
lib: utils/gpio: Generate FDT gpio driver list at compile-time
Instead of having FDT gpio driver list hard-coded in the C source, we generate it using carray.sh at compile-time. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>
Diffstat (limited to 'include')
-rw-r--r--include/sbi_utils/gpio/fdt_gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbi_utils/gpio/fdt_gpio.h b/include/sbi_utils/gpio/fdt_gpio.h
index 19e1b58..ccbf2a1 100644
--- a/include/sbi_utils/gpio/fdt_gpio.h
+++ b/include/sbi_utils/gpio/fdt_gpio.h
@@ -12,6 +12,8 @@
#include <sbi_utils/gpio/gpio.h>
+struct fdt_phandle_args;
+
/** FDT based GPIO driver */
struct fdt_gpio {
const struct fdt_match *match_table;