Skip to content

Commit

Permalink
staging/comedi: Add pci_driver.name to skel driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Greg Kroah-Hartman committed Jan 21, 2013
1 parent 24d8e51 commit 49d2dbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/comedi/drivers/skel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 49d2dbe

Please sign in to comment.