diff options
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 7365aef817b5..1b7fac010f1f 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1056,13 +1056,14 @@ extern void bd_release(struct block_device *); extern void blk_run_queues(void); /* fs/char_dev.c */ -extern int register_chrdev_region(unsigned int, unsigned int, int, - const char *, struct file_operations *); +extern int alloc_chrdev_region(dev_t *, unsigned, char *, + struct file_operations *); +extern int register_chrdev_region(dev_t, unsigned, char *, + struct file_operations *); 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 void unregister_chrdev_region(dev_t, unsigned); extern int chrdev_open(struct inode *, struct file *); /* fs/block_dev.c */ |
