From 864c2acd491d0129692ec0fba2e34ff99e6b9294 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 28 Mar 2003 03:19:51 -0800 Subject: [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. --- include/linux/fs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') 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 */ -- cgit v1.2.3