mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
misc: Allow child devices
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 <sjg@chromium.org>
This commit is contained in:
@@ -68,4 +68,7 @@ int misc_set_enabled(struct udevice *dev, bool val)
|
||||
UCLASS_DRIVER(misc) = {
|
||||
.id = UCLASS_MISC,
|
||||
.name = "misc",
|
||||
#if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
.post_bind = dm_scan_fdt_dev,
|
||||
#endif
|
||||
};
|
||||
|
Reference in New Issue
Block a user