[PATCH 2/5] spi: i.MX: Move to coredevice_initcall
Sascha Hauer
s.hauer at pengutronix.de
Thu May 8 00:31:36 PDT 2014
SPI is often used by other devices, so make sure it's initialized
early.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/spi/imx_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/imx_spi.c b/drivers/spi/imx_spi.c
index e07cf1a..3146339 100644
--- a/drivers/spi/imx_spi.c
+++ b/drivers/spi/imx_spi.c
@@ -586,4 +586,4 @@ static struct driver_d imx_spi_driver = {
.of_compatible = DRV_OF_COMPAT(imx_spi_dt_ids),
.id_table = imx_spi_ids,
};
-device_platform_driver(imx_spi_driver);
+coredevice_platform_driver(imx_spi_driver);
--
2.0.0.rc0
More information about the barebox
mailing list