summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-03-28 03:19:51 -0800
committerDave Jones <davej@tetrachloride.(none)>2003-03-28 03:19:51 -0800
commit864c2acd491d0129692ec0fba2e34ff99e6b9294 (patch)
tree4ef9d170a89fa694fbe27fbdb051b66de9657fa7 /include/linux
parent9110cac96f40cced4b203ee4cee08dbd81dd627a (diff)
[PATCH] tty_io cleanup
From: Andries.Brouwer@cwi.nl Adding the unregister_chrdev_region call that is the counterpart to register_chrdev_region, we get a nice cleanup of tty_io.c.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 2b565674e470..296ff1212917 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1060,6 +1060,8 @@ extern int register_chrdev_region(unsigned int, unsigned int, int,
extern int register_chrdev(unsigned int, const char *,
struct file_operations *);
extern int unregister_chrdev(unsigned int, const char *);
+extern int unregister_chrdev_region(unsigned int, unsigned int, int,
+ const char *);
extern int chrdev_open(struct inode *, struct file *);
/* fs/block_dev.c */