projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24d8e51
)
staging/comedi: Add pci_driver.name to skel driver
author
Peter Huewe
<peterhuewe@gmx.de>
Mon, 21 Jan 2013 21:23:46 +0000
(22:23 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 21 Jan 2013 22:22:49 +0000
(14:22 -0800)
This patch adds the comedi_driver.name to pci_driver.name
to the skel driver, so we can remove the workaround in drivers.c
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/skel.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/skel.c
b/drivers/staging/comedi/drivers/skel.c
index e2d79700a615c6f9f0439060c3699cbb747b9586..48178ca2e35582683d7b933f9426b4449b0ea4fd 100644
(file)
--- a/
drivers/staging/comedi/drivers/skel.c
+++ b/
drivers/staging/comedi/drivers/skel.c
@@
-713,6
+713,7
@@
static void skel_pci_remove(struct pci_dev *dev)
}
static struct pci_driver skel_pci_driver = {
+ .name = "dummy",
.id_table = skel_pci_table,
.probe = &skel_pci_probe,
.remove = &skel_pci_remove