rename serial devices for 2.6.30 as well to avoid uneeded mappings in userspace
authorMirko Vogt <mirko@openwrt.org>
Tue, 2 Jun 2009 00:56:09 +0000 (00:56 +0000)
committerMirko Vogt <mirko@openwrt.org>
Tue, 2 Jun 2009 00:56:09 +0000 (00:56 +0000)
SVN-Revision: 16290

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

diff --git a/target/linux/s3c24xx/patches-2.6.30/040-rename-serialdevs.patch b/target/linux/s3c24xx/patches-2.6.30/040-rename-serialdevs.patch
new file mode 100644 (file)
index 0000000..3e6fdbe
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/drivers/serial/samsung.c
++++ b/drivers/serial/samsung.c
+@@ -882,7 +882,7 @@ static struct uart_ops s3c24xx_serial_op
+ 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,