projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[libata] conversion to new debug scheme, part 1 of $N
[powerpc.git]
/
drivers
/
char
/
ppdev.c
diff --git
a/drivers/char/ppdev.c
b/drivers/char/ppdev.c
index
0e22880
..
bee6c47
100644
(file)
--- a/
drivers/char/ppdev.c
+++ b/
drivers/char/ppdev.c
@@
-65,10
+65,11
@@
#include <linux/parport.h>
#include <linux/ctype.h>
#include <linux/poll.h>
#include <linux/parport.h>
#include <linux/ctype.h>
#include <linux/poll.h>
-#include <
asm/uaccess
.h>
+#include <
linux/major
.h>
#include <linux/ppdev.h>
#include <linux/smp_lock.h>
#include <linux/device.h>
#include <linux/ppdev.h>
#include <linux/smp_lock.h>
#include <linux/device.h>
+#include <asm/uaccess.h>
#define PP_VERSION "ppdev: user-space parallel port driver"
#define CHRDEV "ppdev"
#define PP_VERSION "ppdev: user-space parallel port driver"
#define CHRDEV "ppdev"
@@
-752,7
+753,7
@@
static struct file_operations pp_fops = {
static void pp_attach(struct parport *port)
{
static void pp_attach(struct parport *port)
{
- class_device_create(ppdev_class, MKDEV(PP_MAJOR, port->number),
+ class_device_create(ppdev_class,
NULL,
MKDEV(PP_MAJOR, port->number),
NULL, "parport%d", port->number);
}
NULL, "parport%d", port->number);
}