rename s3c24* serial devices
authorMirko Vogt <mirko@openwrt.org>
Tue, 20 Jan 2009 16:47:32 +0000 (16:47 +0000)
committerMirko Vogt <mirko@openwrt.org>
Tue, 20 Jan 2009 16:47:32 +0000 (16:47 +0000)
SVN-Revision: 14119

target/linux/s3c24xx/patches-2.6.28/004-rename-serialdevs.patch [new file with mode: 0644]

diff --git a/target/linux/s3c24xx/patches-2.6.28/004-rename-serialdevs.patch b/target/linux/s3c24xx/patches-2.6.28/004-rename-serialdevs.patch
new file mode 100644 (file)
index 0000000..a0424f8
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ruN linux-2.6.28.orig/drivers/serial/samsung.c linux-2.6.28/drivers/serial/samsung.c
+--- linux-2.6.28.orig/drivers/serial/samsung.c 2009-01-19 21:52:17.000000000 +0100
++++ linux-2.6.28/drivers/serial/samsung.c      2009-01-19 21:53:42.000000000 +0100
+@@ -882,7 +882,7 @@
+ static struct uart_driver s3c24xx_uart_drv = {
+       .owner          = THIS_MODULE,
+-      .dev_name       = "s3c2410_serial",
++      .dev_name       = "ttySAC",
+       .nr             = CONFIG_SERIAL_SAMSUNG_UARTS,
+       .cons           = S3C24XX_SERIAL_CONSOLE,
+       .driver_name    = S3C24XX_SERIAL_NAME,