summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2009-01-20 16:47:32 +0000
committerMirko Vogt <mirko@openwrt.org>2009-01-20 16:47:32 +0000
commitb5eab7140a1247e4c177aab43138d80f35b8e34f (patch)
treef29690edcfd6fa2e1777fef7cdb91f583883713a /target
parentdc6d881733e996255fec6bf2fbd4816b4eac5281 (diff)
downloadmtk-20170518-b5eab7140a1247e4c177aab43138d80f35b8e34f.zip
mtk-20170518-b5eab7140a1247e4c177aab43138d80f35b8e34f.tar.gz
mtk-20170518-b5eab7140a1247e4c177aab43138d80f35b8e34f.tar.bz2
rename s3c24* serial devices
SVN-Revision: 14119
Diffstat (limited to 'target')
-rw-r--r--target/linux/s3c24xx/patches-2.6.28/004-rename-serialdevs.patch12
1 files changed, 12 insertions, 0 deletions
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
index 0000000..a0424f8
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.28/004-rename-serialdevs.patch
@@ -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,