summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/board
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-03-03 13:14:54 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-06 07:42:22 +0100
commitd1490797af04e220d8a4abb687935d699786be94 (patch)
tree48a138ff0fdf66d427ec97137d2e9ce2da9afc44 /arch/sandbox/board
parent5a0a2964641f6e4272d9de380f662b5f07129c1b (diff)
downloadbarebox-d1490797af04e220d8a4abb687935d699786be94.tar.gz
barebox-d1490797af04e220d8a4abb687935d699786be94.tar.xz
sandbox: hostfile: probe driver earlier
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 <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/board')
-rw-r--r--arch/sandbox/board/hostfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c
index 103bcd9bad..42ade6bec8 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)
{