some cleanup drivers/serial/serial_core.c and serial_cs.c
PATCH 1/1 some cleanup drivers/serial/serial_core.c and serial_cs.c
The file should be "linux/drivers/serial/serial_core.c", but "linux/drivers/char/core.c".
And the words "Based on drivers/char/serial.c," make people confused, because there is no file named "serial.c" in "drivers/char/"
And the line is over 80.
Signature · 4 lines
--------------------------------- Zhenwen Xu - Open and Free Home Page: http://zhwen.org My Studio: http://dim4.cn
Quoted 1 line
From
47dd82dfec448a6a76593479858f5020e00c34d9Mon Sep 17 00:00:00 2001
From: Zhenwen Xu<[email protected]>
Date: Thu, 5 Mar 2009 16:32:18 +0800
Subject: [PATCH] some cleanup drivers/serial/serial_core.c and serial_cs.c
Signed-off-by Zhenwen Xu<[email protected]>
--- drivers/serial/serial_core.c | 5 +++-- drivers/serial/serial_cs.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-)
drivers/serial/serial_core.c +3 -2
@@ -1,9 +1,10 @@/* -* linux/drivers/char/core.c +* linux/drivers/serial/serial_core.c * * Driver core for serial ports * -* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. +* Based on drivers/char/serial.c which was contained in earlier kernel, +* by Linus Torvalds, Theodore Ts'o. * * Copyright 1999 ARM Limited * Copyright (C) 2000-2001 Deep Blue Solutions Ltd.
drivers/serial/serial_cs.c +2 -1
@@ -113,7 +113,8 @@ struct serial_cfg_mem {* manfid 0x0160, 0x0104 * This card appears to have a 14.7456MHz clock. */ -static void quirk_setup_brainboxes_0104 (struct pcmcia_device *link,struct uart_port *port) +static void +quirk_setup_brainboxes_0104 (struct pcmcia_device *link,struct uart_port *port) { port->uartclk =14745600 ; }
Signature · 1 line
1.5.6.5