aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2008-02-08 07:22:00 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 12:22:42 -0500
commit922f9cfa79b52c85b6002d96cb0eefd13437c58c (patch)
tree9198426091e535e4a5dec8875af6ae8267dbe551 /drivers/serial
parentb55ab616fa4b00bdd5c470c70fdf87bab85eec68 (diff)
fs/char_dev.c: chrdev_open marked static and removed from fs.h
There is an outdated comment in serial_core.c also fixed. Signed-off-by: Denis Cheng <crquan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c
index efef494d945a..0f5a17987cca 100644
--- a/drivers/serial/serial_core.c
+++ b/drivers/serial/serial_core.c
@@ -1553,8 +1553,8 @@ static struct uart_state *uart_get(struct uart_driver *drv, int line)
1553} 1553}
1554 1554
1555/* 1555/*
1556 * In 2.4.5, calls to uart_open are serialised by the BKL in 1556 * calls to uart_open are serialised by the BKL in
1557 * linux/fs/devices.c:chrdev_open() 1557 * fs/char_dev.c:chrdev_open()
1558 * Note that if this fails, then uart_close() _will_ be called. 1558 * Note that if this fails, then uart_close() _will_ be called.
1559 * 1559 *
1560 * In time, we want to scrap the "opening nonpresent ports" 1560 * In time, we want to scrap the "opening nonpresent ports"