Allow misc devices to have children, so that we can use this uclass for cases where a child device (e.g. I2S) needs to access a misc driver for transferring data.
Signed-off-by: Simon Glass <[email protected]> --- drivers/misc/misc-uclass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/misc-uclass.c b/drivers/misc/misc-uclass.c index f240cda5c05..f432bc91997 100644 --- a/drivers/misc/misc-uclass.c +++ b/drivers/misc/misc-uclass.c @@ -68,4 +68,5 @@ int misc_set_enabled(struct udevice *dev, bool val) UCLASS_DRIVER(misc) = { .id = UCLASS_MISC, .name = "misc", + .post_bind = dm_scan_fdt_dev, }; -- 2.20.1.415.g653613c723-goog _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

