From 106a29af3c4c1a282252adabd32ce86acac2c10c Mon Sep 17 00:00:00 2001 From: Ranjani Vaidyanathan Date: Wed, 13 Apr 2011 11:19:03 -0500 Subject: ENGR00142020-1: MX50: Add SPI and MC13892 support Add PMIC support for MX50 Signed-off-by: Ranjani Vaidyanathan --- drivers/spi/spi_imx.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'drivers/spi') diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c index 69d6dba67c19..44e202ea229f 100644 --- a/drivers/spi/spi_imx.c +++ b/drivers/spi/spi_imx.c @@ -1,5 +1,5 @@ /* - * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright (C) 2004-2007, 2011 Freescale Semiconductor, Inc. All Rights Reserved. * Copyright (C) 2008 Juergen Beisert * * This program is free software; you can redistribute it and/or @@ -742,6 +742,9 @@ static struct platform_device_id spi_imx_devtype[] = { }, { .name = "imx35-cspi", .driver_data = SPI_IMX_VER_0_7, + }, { + .name = "imx50-cspi", + .driver_data = SPI_IMX_VER_0_7, }, { .name = "imx51-cspi", .driver_data = SPI_IMX_VER_0_7, @@ -936,7 +939,7 @@ static void __exit spi_imx_exit(void) platform_driver_unregister(&spi_imx_driver); } -module_init(spi_imx_init); +subsys_initcall(spi_imx_init); module_exit(spi_imx_exit); MODULE_DESCRIPTION("SPI Master Controller driver"); -- cgit v1.2.3