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 1WiIoJ-0000lf-8z for barebox@lists.infradead.org; Thu, 08 May 2014 07:32:07 +0000 From: Sascha Hauer Date: Thu, 8 May 2014 09:31:36 +0200 Message-Id: <1399534299-27051-3-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1399534299-27051-1-git-send-email-s.hauer@pengutronix.de> References: <1399534299-27051-1-git-send-email-s.hauer@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 2/5] spi: i.MX: Move to coredevice_initcall To: barebox@lists.infradead.org SPI is often used by other devices, so make sure it's initialized early. Signed-off-by: Sascha Hauer --- 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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox