diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-12-29 23:47:04 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-12-29 23:47:04 -0800 |
| commit | 25ceff8cfa0858e505d34b1b7a244bf254ff8540 (patch) | |
| tree | 117c0bee376be97c2bb022340eed088aad17dbaf /drivers | |
| parent | 0f821f9d7f0ed17f11602c9a93bed09186560ee9 (diff) | |
[PATCH] ppdev MODULES_ALIAS
From: Jim Radford <radford@indigita.com>
I finally took the time to figure our why my parallel port wasn't
working... here's the patch.
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/char/ppdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c index 7428e4d3ce99..525905c07435 100644 --- a/drivers/char/ppdev.c +++ b/drivers/char/ppdev.c @@ -67,6 +67,7 @@ #include <asm/uaccess.h> #include <linux/ppdev.h> #include <linux/smp_lock.h> +#include <linux/device.h> #define PP_VERSION "ppdev: user-space parallel port driver" #define CHRDEV "ppdev" @@ -782,4 +783,4 @@ module_init(ppdev_init); module_exit(ppdev_cleanup); MODULE_LICENSE("GPL"); - +MODULE_ALIAS_CHARDEV_MAJOR(PP_MAJOR); |
