openwrtv4/target/linux/s3c24xx/patches-2.6.28/004-rename-serialdevs.patch
Mirko Vogt b5eab7140a rename s3c24* serial devices
SVN-Revision: 14119
2009-01-20 16:47:32 +00:00

12 lines
514 B
Diff

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,