diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2024-11-11 14:02:49 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-11-28 17:29:12 +0530 |
commit | bef8f9b8068c6e5e0bb706f90eee30674910a47f (patch) | |
tree | 2d02342743f792030c7ebd5de51238a952c9156f /platform/generic/platform.c | |
parent | 10df2d6fb5dba486a74cb47bbc062f3383bba80d (diff) | |
download | opensbi-bef8f9b8068c6e5e0bb706f90eee30674910a47f.zip opensbi-bef8f9b8068c6e5e0bb706f90eee30674910a47f.tar.gz opensbi-bef8f9b8068c6e5e0bb706f90eee30674910a47f.tar.bz2 |
lib: utils/gpio: Use fdt_driver for initialization
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>
Diffstat (limited to 'platform/generic/platform.c')
0 files changed, 0 insertions, 0 deletions