Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 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 | |
| 10 | #include <linux/kernel.h> |
| 11 | #include <linux/platform_device.h> |
| 12 | |
| 13 | #include "devs.h" |
| 14 | |
| 15 | /* uart devices */ |
| 16 | |
| 17 | static struct platform_device s3c24xx_uart_device0 = { |
| 18 | .id = 0, |
| 19 | }; |
| 20 | |
| 21 | static struct platform_device s3c24xx_uart_device1 = { |
| 22 | .id = 1, |
| 23 | }; |
| 24 | |
| 25 | static struct platform_device s3c24xx_uart_device2 = { |
| 26 | .id = 2, |
| 27 | }; |
| 28 | |
| 29 | static struct platform_device s3c24xx_uart_device3 = { |
| 30 | .id = 3, |
| 31 | }; |
| 32 | |
| 33 | struct platform_device *s3c24xx_uart_src[4] = { |
| 34 | &s3c24xx_uart_device0, |
| 35 | &s3c24xx_uart_device1, |
| 36 | &s3c24xx_uart_device2, |
| 37 | &s3c24xx_uart_device3, |
| 38 | }; |
| 39 | |
| 40 | struct platform_device *s3c24xx_uart_devs[4] = { |
| 41 | }; |