]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppdev MODULES_ALIAS
authorAndrew Morton <akpm@osdl.org>
Tue, 30 Dec 2003 07:47:04 +0000 (23:47 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 30 Dec 2003 07:47:04 +0000 (23:47 -0800)
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.

drivers/char/ppdev.c

index 7428e4d3ce99df945dcc650443bc752fa3b8f655..525905c07435c9f2041bc27b91dc5c35fcbac0cb 100644 (file)
@@ -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);