X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fchar_dev.c;h=038674aa88a72c09a88388ee7cf1b54839675052;hb=83afdf2464ac17ad6321a68b2fe7528c9aa88016;hp=2c7a8b5b45989b25d40f8cb6a283d7ffb8940c5a;hpb=c64768a7d671bcde80bca2aed93f9e07edc069c3;p=~andy%2Flinux diff --git a/fs/char_dev.c b/fs/char_dev.c index 2c7a8b5b459..038674aa88a 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;