From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YRp7z-0003qO-32 for barebox@lists.infradead.org; Sat, 28 Feb 2015 21:40:55 +0000 From: Marc Kleine-Budde Date: Sat, 28 Feb 2015 22:40:17 +0100 Message-Id: <1425159621-22805-13-git-send-email-mkl@pengutronix.de> In-Reply-To: <1425159621-22805-1-git-send-email-mkl@pengutronix.de> References: <1425159621-22805-1-git-send-email-mkl@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 12/16] sandbox: hostfile: probe driver earlier To: barebox@lists.infradead.org This patch convert from device_platform_driver to coredevice_platform_driver, so that the driver is initialzied before the state framework is probed. Signed-off-by: Marc Kleine-Budde --- arch/sandbox/board/hostfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c index 103bcd9badc7..42ade6bec8a4 100644 --- a/arch/sandbox/board/hostfile.c +++ b/arch/sandbox/board/hostfile.c @@ -91,7 +91,7 @@ static struct driver_d hf_drv = { .name = "hostfile", .probe = hf_probe, }; -device_platform_driver(hf_drv); +coredevice_platform_driver(hf_drv); int barebox_register_filedev(struct hf_platform_data *hf) { -- 2.1.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox