diff options
Diffstat (limited to 'arch/arm/mach-mx3/mx31lilly-db.c')
| -rw-r--r-- | arch/arm/mach-mx3/mx31lilly-db.c | 14 | 
1 files changed, 5 insertions, 9 deletions
diff --git a/arch/arm/mach-mx3/mx31lilly-db.c b/arch/arm/mach-mx3/mx31lilly-db.c index 7aebd74a12e..827fd3c8020 100644 --- a/arch/arm/mach-mx3/mx31lilly-db.c +++ b/arch/arm/mach-mx3/mx31lilly-db.c @@ -18,10 +18,6 @@   * but WITHOUT ANY WARRANTY; without even the implied warranty of   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   */  #include <linux/kernel.h> @@ -36,13 +32,13 @@  #include <mach/hardware.h>  #include <mach/common.h> -#include <mach/imx-uart.h>  #include <mach/iomux-mx3.h>  #include <mach/board-mx31lilly.h>  #include <mach/mmc.h>  #include <mach/mx3fb.h>  #include <mach/ipu.h> +#include "devices-imx31.h"  #include "devices.h"  /* @@ -96,7 +92,7 @@ static unsigned int lilly_db_board_pins[] __initdata = {  };  /* UART */ -static struct imxuart_platform_data uart_pdata __initdata = { +static const struct imxuart_platform_data uart_pdata __initconst = {  	.flags = IMXUART_HAVE_RTSCTS,  }; @@ -217,9 +213,9 @@ void __init mx31lilly_db_init(void)  	mxc_iomux_setup_multiple_pins(lilly_db_board_pins,  					ARRAY_SIZE(lilly_db_board_pins),  					"development board pins"); -	mxc_register_device(&mxc_uart_device0, &uart_pdata); -	mxc_register_device(&mxc_uart_device1, &uart_pdata); -	mxc_register_device(&mxc_uart_device2, &uart_pdata); +	imx31_add_imx_uart0(&uart_pdata); +	imx31_add_imx_uart1(&uart_pdata); +	imx31_add_imx_uart2(&uart_pdata);  	mxc_register_device(&mxcsdhc_device0, &mmc_pdata);  	mx31lilly_init_fb();  }  |