mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
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:
parent
b55ab616fa
commit
922f9cfa79
3 changed files with 3 additions and 4 deletions
|
@ -357,7 +357,7 @@ void cdev_put(struct cdev *p)
|
|||
/*
|
||||
* Called every time a character special file is opened
|
||||
*/
|
||||
int chrdev_open(struct inode * inode, struct file * filp)
|
||||
static int chrdev_open(struct inode *inode, struct file *filp)
|
||||
{
|
||||
struct cdev *p;
|
||||
struct cdev *new = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue