From: Simon Glass Date: Thu, 27 Dec 2018 13:24:36 -0700 Subject: [U-Boot] [PATCH 01/11] misc: Allow child devices In-Reply-To: <20181227202446.229042-1-sjg@chromium.org> References: <20181227202446.229042-1-sjg@chromium.org> Message-ID: <20181227202446.229042-2-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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