VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Denis Cheng <crquan@gmail.com> 2008-02-08 04:22:00 -0800 committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2008-02-08 09:22:42 -0800 commit: 922f9cfa79b52c85b6002d96cb0eefd13437c58c parent: b55ab616fa4b00bdd5c470c70fdf87bab85eec68
Commit Summary:
fs/char_dev.c: chrdev_open marked static and removed from fs.h
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/char_dev.c b/fs/char_dev.c
index 2c7a8b5b4598..038674aa88a7 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -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;