From 4eacd8229b63bcc220fbdaa4c294ea5ae8c978f0 Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Fri, 13 May 2022 09:27:12 +0530 Subject: 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 Reviewed-by: Atish Patra --- include/sbi_utils/gpio/fdt_gpio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/sbi_utils/gpio/fdt_gpio.h b/include/sbi_utils/gpio/fdt_gpio.h index 19e1b587..ccbf2a11 100644 --- a/include/sbi_utils/gpio/fdt_gpio.h +++ b/include/sbi_utils/gpio/fdt_gpio.h @@ -12,6 +12,8 @@ #include +struct fdt_phandle_args; + /** FDT based GPIO driver */ struct fdt_gpio { const struct fdt_match *match_table; -- cgit v1.3.1