forked from Mirrors/opensbi

FDT gpio drivers have an extra .xlate operation, so they need to embed the `struct fdt_driver` inside the subsystem-specific type. The gpio subsystem always initializes the driver for a specific DT node. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org>
6 lines
142 B
Plaintext
6 lines
142 B
Plaintext
HEADER: sbi_utils/gpio/fdt_gpio.h
|
|
TYPE: const struct fdt_gpio
|
|
NAME: fdt_gpio_drivers
|
|
MEMBER-NAME: driver
|
|
MEMBER-TYPE: const struct fdt_driver
|