[PATCH 2/9] v8250: rename serial to vserial

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trying to reuse the name serial clashes with the existing
serial driver, creating the error message below, so rename
it to vserial.

Serial: virtual 8250/16550 driver 8 ports
WARNING: at fs/proc/generic.c:590 proc_register+0xa8/0x140()
Hardware name: System Name
proc_dir_entry 'driver/serial' already registered
---
 v8250.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/v8250.c b/v8250.c
index a1b3983..77422a1 100644
--- a/v8250.c
+++ b/v8250.c
@@ -736,7 +736,7 @@ static struct uart_ops serial8250_pops = {
 
 static struct uart_driver serial8250_reg = {
 	.owner			= THIS_MODULE,
-	.driver_name		= "serial",
+	.driver_name		= "vserial",
 	.dev_name		= "ttySV",
 	.major			= TTY_MAJOR,
 	.minor			= 64 + CONFIG_SERIAL_8250_NR_UARTS,
-- 
1.6.5.2


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux