Messages in this thread Patch in this message | | | Date | Mon, 22 Dec 2003 15:12:11 -0800 | From | Jim Radford <> | Subject | [PATCH] ppdev MODULES_ALIAS |
| |
Hi Andrew,
I finally took the time to figure our why my parallel port wasn't working... here's the patch.
-Jim
--- linux-2.6/drivers/char/ppdev.c.orig 2003-09-12 12:02:43.000000000 -0700 +++ linux-2.6/drivers/char/ppdev.c 2003-12-22 14:08:13.000000000 -0800 @@ -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_exit(ppdev_cleanup); MODULE_LICENSE("GPL"); - +MODULE_ALIAS_CHARDEV_MAJOR(PP_MAJOR); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |