Linux-2.6.33.2/arch/arm/plat-s5pc1xx/s5pc100-init.c

/* linux/arch/arm/plat-s5pc1xx/s5pc100-init.c
 *
 * Copyright 2009 Samsung Electronics Co.
 *      Byungho Min <bhmin@samsung.com>
 *
 * S5PC100 - CPU initialisation (common with other S5PC1XX chips)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/init.h>

#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/s5pc100.h>

/* uart registration process */

void __init s5pc100_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
	/* The driver name is s3c6400-uart to reuse s3c6400_serial_drv  */
	s3c24xx_init_uartdevs("s3c6400-uart", s5pc1xx_uart_resources, cfg, no);
}