* [PATCH] ppdev MODULES_ALIAS
@ 2003-12-22 23:12 Jim Radford
0 siblings, 0 replies; only message in thread
From: Jim Radford @ 2003-12-22 23:12 UTC (permalink / raw)
To: Andrew Morton; +Cc: Rusty Russell, linux-kernel
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-22 22:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-22 23:12 [PATCH] ppdev MODULES_ALIAS Jim Radford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®