aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2009-06-02 00:56:09 +0000
committerMirko Vogt <mirko@openwrt.org>2009-06-02 00:56:09 +0000
commit2c5cec770ec7c89ce3e01a81e045e2daa4ba1f73 (patch)
tree499e75ee51f1d93503d7649b1caf330bbd7ba3c1 /target/linux/s3c24xx
parentda49000eec420b746d73a181c5a6b4810860f574 (diff)
downloadmaster-187ad058-2c5cec770ec7c89ce3e01a81e045e2daa4ba1f73.tar.gz
master-187ad058-2c5cec770ec7c89ce3e01a81e045e2daa4ba1f73.tar.bz2
master-187ad058-2c5cec770ec7c89ce3e01a81e045e2daa4ba1f73.zip
rename serial devices for 2.6.30 as well to avoid uneeded mappings in userspace
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16290 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx')
-rw-r--r--target/linux/s3c24xx/patches-2.6.30/040-rename-serialdevs.patch11
1 files changed, 11 insertions, 0 deletions
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
index 0000000000..3e6fdbea92
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.30/040-rename-serialdevs.patch
@@ -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,