Hi Greg, After merging the driver-core tree, today's linux-next build (powerpc allnoconfig) failed like this: drivers/base/dd.c: In function 'driver_allows_async_probing': drivers/base/dd.c:430:31: error: dereferencing pointer to incomplete type if (drv->owner && drv->owner->async_probe_requested) ^ Caused by commit f2411da74698 ("driver-core: add driver module asynchronous probe support"). I have applied the following fix patch for today: From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Thu, 21 May 2015 17:44:10 +1000 Subject: [PATCH] driver-core: add driver module asynchronous probe support fix struct module is not defined if CONFIG_MODULES is not set. Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- drivers/base/dd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 39292535c74e..12e120ddbc34 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -427,8 +427,10 @@ bool driver_allows_async_probing(struct device_driver *drv) return false; default: +#ifdef CONFIG_MODULES if (drv->owner && drv->owner->async_probe_requested) return true; +#endif return false; } -- 2.1.4 -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgpFl3ssPq5h9.pgp
Description: OpenPGP digital signature