init.c 704 B

12345678910111213141516171819202122232425
  1. /* linux/arch/arm/mach-s5pv210/init.c
  2. *
  3. * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com/
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <linux/kernel.h>
  11. #include <linux/types.h>
  12. #include <linux/init.h>
  13. #include <linux/serial_core.h>
  14. #include <plat/cpu.h>
  15. #include <plat/devs.h>
  16. #include <plat/s5pv210.h>
  17. #include <plat/regs-serial.h>
  18. /* uart registration process */
  19. void __init s5pv210_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
  20. {
  21. s3c24xx_init_uartdevs("s5pv210-uart", s5p_uart_resources, cfg, no);
  22. }