X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fchar_dev.c;h=038674aa88a72c09a88388ee7cf1b54839675052;hb=8eefca4888c986d993b2571eb31f0397a5d0a178;hp=2c7a8b5b45989b25d40f8cb6a283d7ffb8940c5a;hpb=9b73e76f3cf63379dcf45fcd4f112f5812418d0a;p=linux-2.6 diff --git a/fs/char_dev.c b/fs/char_dev.c index 2c7a8b5b45..038674aa88 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;