dev-uart.c 797 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // SPDX-License-Identifier: GPL-2.0
  2. //
  3. // originally from arch/arm/plat-s3c24xx/devs.c
  4. //
  5. // Copyright (c) 2004 Simtec Electronics
  6. // Ben Dooks <ben@simtec.co.uk>
  7. //
  8. // Base S3C24XX platform device definitions
  9. #include <linux/kernel.h>
  10. #include <linux/platform_device.h>
  11. #include <plat/devs.h>
  12. /* uart devices */
  13. static struct platform_device s3c24xx_uart_device0 = {
  14. .id = 0,
  15. };
  16. static struct platform_device s3c24xx_uart_device1 = {
  17. .id = 1,
  18. };
  19. static struct platform_device s3c24xx_uart_device2 = {
  20. .id = 2,
  21. };
  22. static struct platform_device s3c24xx_uart_device3 = {
  23. .id = 3,
  24. };
  25. struct platform_device *s3c24xx_uart_src[4] = {
  26. &s3c24xx_uart_device0,
  27. &s3c24xx_uart_device1,
  28. &s3c24xx_uart_device2,
  29. &s3c24xx_uart_device3,
  30. };
  31. struct platform_device *s3c24xx_uart_devs[4] = {
  32. };