Ticket #2338: 0001-Rename-dev-s3c2410_serialXXX-to-dev-ttySACXXX.patch

File 0001-Rename-dev-s3c2410_serialXXX-to-dev-ttySACXXX.patch, 910 bytes (added by psonek, 9 years ago)

Patch for renaming serial to ttySAC for 2.6.34

  • drivers/serial/samsung.c

    From ec52149c715232584731e36303971a25bf3d8bee Mon Sep 17 00:00:00 2001
    From: Radek Polak <psonek2@seznam.cz>
    Date: Tue, 21 Sep 2010 20:55:41 +0200
    Subject: [PATCH] Rename /dev/s3c2410_serialXXX to /dev/ttySACXXX
    
    It's nice that devtmpfs now creates the serial port with well known
    name.
    
    http://docs.openmoko.org/trac/ticket/2338
    ---
     drivers/serial/samsung.c |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/drivers/serial/samsung.c b/drivers/serial/samsung.c
    index f7b80ae..cda5e88 100644
    a b static struct uart_ops s3c24xx_serial_ops = { 
    878878 
    879879static struct uart_driver s3c24xx_uart_drv = { 
    880880        .owner          = THIS_MODULE, 
    881         .dev_name       = "s3c2410_serial", 
     881        .dev_name       = S3C24XX_SERIAL_NAME, 
    882882        .nr             = CONFIG_SERIAL_SAMSUNG_UARTS, 
    883883        .cons           = S3C24XX_SERIAL_CONSOLE, 
    884884        .driver_name    = S3C24XX_SERIAL_NAME,