diff -Nuar linux-3.0/drivers/tty/serial/samsung.c linux-3.0-s3c2440/drivers/tty/serial/samsung.c
--- linux-3.0/drivers/tty/serial/samsung.c2011-07-22 10:17:23.000000000 +0800
+++ linux-3.0-s3c2440/drivers/tty/serial/samsung.c2011-09-06 11:23:01.000000000 +0800
@@ -54,7 +54,7 @@
/* UART name and device definitions */
-#define S3C24XX_SERIAL_NAME "ttySAC"
+#define S3C24XX_SERIAL_NAME "ttyS" /*Modified by guowenxue, 2011.08.30*/
#define S3C24XX_SERIAL_MAJOR 204
#define S3C24XX_SERIAL_MINOR 64
@@ -882,7 +882,7 @@
static struct uart_driver s3c24xx_uart_drv = {
.owner = THIS_MODULE,
- .driver_name = "s3c2410_serial",
+ .driver_name = "ttyS", /*Modified by guowenxue, 2011.08.30*/
.nr = CONFIG_SERIAL_SAMSUNG_UARTS,
.cons = S3C24XX_SERIAL_CONSOLE,
.dev_name = S3C24XX_SERIAL_NAME, :handshake 感谢楼上分享~
页:
[1]