projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB (9046): Add support for Non-Pro version of Pinnacle PCTV HD USB Stick
[linux-2.6]
/
drivers
/
char
/
pcmcia
/
cm4040_cs.c
diff --git
a/drivers/char/pcmcia/cm4040_cs.c
b/drivers/char/pcmcia/cm4040_cs.c
index
6181f8a
..
0b5934b
100644
(file)
--- a/
drivers/char/pcmcia/cm4040_cs.c
+++ b/
drivers/char/pcmcia/cm4040_cs.c
@@
-653,7
+653,8
@@
static int reader_probe(struct pcmcia_device *link)
return ret;
}
- device_create(cmx_class, NULL, MKDEV(major, i), "cmx%d", i);
+ device_create_drvdata(cmx_class, NULL, MKDEV(major, i), NULL,
+ "cmx%d", i);
return 0;
}