diff options
| author | Paul Fulghum <paulkf@microgate.com> | 2003-05-29 21:56:54 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-29 21:56:54 -0700 |
| commit | f62b69ad6a0844979f8cdab3e090c07fc06c2dcd (patch) | |
| tree | e0359c65e4d436102da8108dc3828e17260a5c3a /include/linux | |
| parent | 5c88d5d3a7ba73e8d9ae1eb6e7dc87fe678cdf2a (diff) | |
[PATCH] tty_register_driver
This patch reinstates the ability of tty devices to use dynamically
allocated major numbers yet specify the minor numbers statically.
The synclink drivers do this.
Diffstat (limited to 'include/linux')
| -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 78b45c4afd9c..9ae05e3ff093 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1059,7 +1059,7 @@ extern void bd_release(struct block_device *); extern void blk_run_queues(void); /* fs/char_dev.c */ -extern int alloc_chrdev_region(dev_t *, unsigned, char *); +extern int alloc_chrdev_region(dev_t *, unsigned, unsigned, char *); extern int register_chrdev_region(dev_t, unsigned, char *); extern int register_chrdev(unsigned int, const char *, struct file_operations *); |
