diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | kernel/dev.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-06-08 Miklos Szeredi <miklos@szeredi.hu> + + * Enable the auto-loading of the module via access to the + corresponding device file. Patch by Takashi Iwai. + 2005-06-02 Miklos Szeredi <miklos@szeredi.hu> * Released 2.3.0 diff --git a/kernel/dev.c b/kernel/dev.c index 81cc2be..8c43e9b 100644 --- a/kernel/dev.c +++ b/kernel/dev.c @@ -17,6 +17,10 @@ #include <linux/file.h> #include <linux/slab.h> +#ifdef MODULE_ALIAS_MISCDEV +MODULE_ALIAS_MISCDEV(FUSE_MINOR); +#endif + static kmem_cache_t *fuse_req_cachep; static inline struct fuse_conn *fuse_get_conn(struct file *file) |