aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0000000000..a0424f8c7f
--- /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,