staging/comedi: Add pci_driver.name to skel driver
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 21 Jan 2013 21:23:46 +0000 (22:23 +0100)
committerGreg 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

index e2d79700a615c6f9f0439060c3699cbb747b9586..48178ca2e35582683d7b933f9426b4449b0ea4fd 100644 (file)
@@ -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