summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2008-02-08 13:22:00 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 18:22:42 +0100
commit922f9cfa79b52c85b6002d96cb0eefd13437c58c (patch)
tree9198426091e535e4a5dec8875af6ae8267dbe551 /fs
parentpreemptible RCU: sparse annotations (diff)
downloadlinux-922f9cfa79b52c85b6002d96cb0eefd13437c58c.tar.xz
linux-922f9cfa79b52c85b6002d96cb0eefd13437c58c.zip
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 'fs')
-rw-r--r--fs/char_dev.c2
1 files changed, 1 insertions, 1 deletions
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;