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>
This commit is contained in:
committed by
Linus Torvalds
parent
b55ab616fa
commit
922f9cfa79
@ -1553,8 +1553,8 @@ static struct uart_state *uart_get(struct uart_driver *drv, int line)
|
||||
}
|
||||
|
||||
/*
|
||||
* In 2.4.5, calls to uart_open are serialised by the BKL in
|
||||
* linux/fs/devices.c:chrdev_open()
|
||||
* calls to uart_open are serialised by the BKL in
|
||||
* fs/char_dev.c:chrdev_open()
|
||||
* Note that if this fails, then uart_close() _will_ be called.
|
||||
*
|
||||
* In time, we want to scrap the "opening nonpresent ports"
|
||||
|
Reference in New Issue
Block a user