From 25ce695b54121b57a2072314aadbe6bb3ac05366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Tue, 21 Apr 2015 11:53:21 +0200 Subject: [PATCH] bootstate: probe bootstate later MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit state must be loaded after the nand driver, otherwise it fails because the backend is missing. For similar reasons bootstate must come after state. Move them to the late stage until barebox can do deferred probing. Signed-off-by: Uwe Kleine-König Signed-off-by: Marc Kleine-Budde --- drivers/misc/bootstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/bootstate.c b/drivers/misc/bootstate.c index 96b9f23c4..5db6db8e5 100644 --- a/drivers/misc/bootstate.c +++ b/drivers/misc/bootstate.c @@ -65,4 +65,4 @@ static struct driver_d bootstate_driver = { .probe = bootstate_probe, .of_compatible = DRV_OF_COMPAT(bootstate_ids), }; -device_platform_driver(bootstate_driver); +register_driver_macro(late,platform,bootstate_driver);