diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-07-19 04:47:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:43 -0400 |
commit | e53252d97e670a38b1d2e9723b48077bba11ddda (patch) | |
tree | a9909f22d7f0424214e2576912c0a3300dde3df0 /include/linux/fs.h | |
parent | 68fc4fabca897a09f75f53bac14cdc7a98f52210 (diff) |
unregister_chrdev() return void
unregister_chrdev() does not return meaningful value. This patch makes it
return void like most unregister_* functions.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 9562a59b3703..75dd16efc9b6 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1463,7 +1463,7 @@ extern int alloc_chrdev_region(dev_t *, unsigned, unsigned, const char *); | |||
1463 | extern int register_chrdev_region(dev_t, unsigned, const char *); | 1463 | extern int register_chrdev_region(dev_t, unsigned, const char *); |
1464 | extern int register_chrdev(unsigned int, const char *, | 1464 | extern int register_chrdev(unsigned int, const char *, |
1465 | const struct file_operations *); | 1465 | const struct file_operations *); |
1466 | extern int unregister_chrdev(unsigned int, const char *); | 1466 | extern void unregister_chrdev(unsigned int, const char *); |
1467 | extern void unregister_chrdev_region(dev_t, unsigned); | 1467 | extern void unregister_chrdev_region(dev_t, unsigned); |
1468 | extern int chrdev_open(struct inode *, struct file *); | 1468 | extern int chrdev_open(struct inode *, struct file *); |
1469 | extern void chrdev_show(struct seq_file *,off_t); | 1469 | extern void chrdev_show(struct seq_file *,off_t); |