forked from Mirrors/opensbi
lib: utils/i2c: Use fdt_driver for initialization
The i2c driver subsystem does not need any extra data, so it can use `struct fdt_driver` directly. It 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>
This commit is contained in:

committed by
Anup Patel

parent
bef8f9b806
commit
333133edaa
@@ -1,3 +1,3 @@
|
||||
HEADER: sbi_utils/i2c/fdt_i2c.h
|
||||
TYPE: struct fdt_i2c_adapter
|
||||
TYPE: const struct fdt_driver
|
||||
NAME: fdt_i2c_adapter_drivers
|
||||
|
Reference in New Issue
Block a user