linux/arch/arm/plat-samsung/dev-uart.c
<<
>>
Prefs
   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
  15#include <linux/kernel.h>
  16#include <linux/platform_device.h>
  17
  18#include <plat/devs.h>
  19
  20/* uart devices */
  21
  22static struct platform_device s3c24xx_uart_device0 = {
  23        .id             = 0,
  24};
  25
  26static struct platform_device s3c24xx_uart_device1 = {
  27        .id             = 1,
  28};
  29
  30static struct platform_device s3c24xx_uart_device2 = {
  31        .id             = 2,
  32};
  33
  34static struct platform_device s3c24xx_uart_device3 = {
  35        .id             = 3,
  36};
  37
  38struct platform_device *s3c24xx_uart_src[4] = {
  39        &s3c24xx_uart_device0,
  40        &s3c24xx_uart_device1,
  41        &s3c24xx_uart_device2,
  42        &s3c24xx_uart_device3,
  43};
  44
  45struct platform_device *s3c24xx_uart_devs[4] = {
  46};
  47