rename s3c24* serial devices
[openwrt/svn-archive/archive.git] / target / linux / s3c24xx / patches-2.6.28 / 004-rename-serialdevs.patch
1 diff -ruN linux-2.6.28.orig/drivers/serial/samsung.c linux-2.6.28/drivers/serial/samsung.c
2 --- linux-2.6.28.orig/drivers/serial/samsung.c 2009-01-19 21:52:17.000000000 +0100
3 +++ linux-2.6.28/drivers/serial/samsung.c 2009-01-19 21:53:42.000000000 +0100
4 @@ -882,7 +882,7 @@
5
6 static struct uart_driver s3c24xx_uart_drv = {
7 .owner = THIS_MODULE,
8 - .dev_name = "s3c2410_serial",
9 + .dev_name = "ttySAC",
10 .nr = CONFIG_SERIAL_SAMSUNG_UARTS,
11 .cons = S3C24XX_SERIAL_CONSOLE,
12 .driver_name = S3C24XX_SERIAL_NAME,