dev-uart.c 997 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* linux/arch/arm/plat-samsung/dev-uart.c
  2. * originally from arch/arm/plat-s3c24xx/devs.c
  3. *x
  4. * Copyright (c) 2004 Simtec Electronics
  5. * Ben Dooks <ben@simtec.co.uk>
  6. *
  7. * Base S3C24XX platform device definitions
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. *
  13. */
  14. #include <linux/kernel.h>
  15. #include <linux/platform_device.h>
  16. #include <plat/devs.h>
  17. /* uart devices */
  18. static struct platform_device s3c24xx_uart_device0 = {
  19. .id = 0,
  20. };
  21. static struct platform_device s3c24xx_uart_device1 = {
  22. .id = 1,
  23. };
  24. static struct platform_device s3c24xx_uart_device2 = {
  25. .id = 2,
  26. };
  27. static struct platform_device s3c24xx_uart_device3 = {
  28. .id = 3,
  29. };
  30. struct platform_device *s3c24xx_uart_src[4] = {
  31. &s3c24xx_uart_device0,
  32. &s3c24xx_uart_device1,
  33. &s3c24xx_uart_device2,
  34. &s3c24xx_uart_device3,
  35. };
  36. struct platform_device *s3c24xx_uart_devs[4] = {
  37. };