aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-openmoko-2.6.30.4/040-rename-serialdevs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-openmoko-2.6.30.4/040-rename-serialdevs.patch')
-rw-r--r--recipes/linux/linux-openmoko-2.6.30.4/040-rename-serialdevs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/linux/linux-openmoko-2.6.30.4/040-rename-serialdevs.patch b/recipes/linux/linux-openmoko-2.6.30.4/040-rename-serialdevs.patch
new file mode 100644
index 0000000000..4176dbc87f
--- /dev/null
+++ b/recipes/linux/linux-openmoko-2.6.30.4/040-rename-serialdevs.patch
@@ -0,0 +1,11 @@
+--- a/drivers/serial/samsung.c
++++ b/drivers/serial/samsung.c
+@@ -878,7 +878,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,